diff options
author | Andrey Nazarov <skuller@skuller.net> | 2010-11-13 18:29:36 +0300 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2010-11-14 15:42:44 +0300 |
commit | bcc5deff34773bc340e3c0b886b1a71084dac414 (patch) | |
tree | 97b1eff227c642f540c6bd206b990166d4e1d40e /src/common.c | |
parent | 73cdac238fdad61ae0bc0a96665b4d32fddbc374 (diff) |
Improve mouse grab control in windowed mode.
- Add ‘in_smart_grab’ variable that conditionally re-enables some checks
(demo playback, spectator mode) to determine if mouse input is not
needed and input focus may be released.
- Add an additional check for SHIFT key pressed during demo playback,
mouse is grabbed while it is held down.
- Clean up IN_Activate function.
Diffstat (limited to 'src/common.c')
0 files changed, 0 insertions, 0 deletions