diff options
author | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-11-24 18:32:49 +0000 |
---|---|---|
committer | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-11-24 18:32:49 +0000 |
commit | 12f978afaf1a2435ce2f94c19a73bcade3983d24 (patch) | |
tree | 77365a5e34844234c47c76c73381944316588f16 /src/base | |
parent | cd5c858d00c6cbc27291523e2c78d28575778c9e (diff) | |
download | usdx-12f978afaf1a2435ce2f94c19a73bcade3983d24.tar.gz usdx-12f978afaf1a2435ce2f94c19a73bcade3983d24.tar.xz usdx-12f978afaf1a2435ce2f94c19a73bcade3983d24.zip |
fixed this f11 thing canni mentioned
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1959 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/base')
-rw-r--r-- | src/base/UMain.pas | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/base/UMain.pas b/src/base/UMain.pas index 0012fef3..d5e0ccb3 100644 --- a/src/base/UMain.pas +++ b/src/base/UMain.pas @@ -483,8 +483,13 @@ begin if not Assigned(Display.NextScreen) then begin //drop input when changing screens - if (Event.key.keysym.sym = SDLK_F11) or - ((Event.key.keysym.sym = SDLK_RETURN) and + { to-do : F11 was used for fullscreen toggle, too here + but we also use the key in screenname and some other + screens. It is droped although fullscreen toggle doesn't + even work on windows. + should we add (Event.key.keysym.sym = SDLK_F11) here + anyway? } + if ((Event.key.keysym.sym = SDLK_RETURN) and ((Event.key.keysym.modifier and KMOD_ALT) <> 0)) then // toggle full screen begin Ini.FullScreen := integer( not boolean( Ini.FullScreen ) ); |