summaryrefslogtreecommitdiff
path: root/src/ui/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/window.c')
-rw-r--r--src/ui/window.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index bfa95f90..fb5daa80 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -1596,13 +1596,6 @@ iBool processEvent_Window(iWindow *d, const SDL_Event *ev) {
1596 As a workaround, ignore these events. */ 1596 As a workaround, ignore these events. */
1597 return iTrue; /* won't go to bindings, either */ 1597 return iTrue; /* won't go to bindings, either */
1598 } 1598 }
1599 /* Apply keyboard modifier mapping. */
1600 if (event.type == SDL_KEYDOWN || event.type == SDL_KEYUP) {
1601 if (event.key.keysym.sym == SDLK_CAPSLOCK) {
1602 setCapsLockDown_Keys(event.key.state == SDL_PRESSED);
1603 }
1604 event.key.keysym.mod = mapMods_Keys(event.key.keysym.mod & ~KMOD_CAPS);
1605 }
1606 if (event.type == SDL_MOUSEBUTTONDOWN && d->ignoreClick) { 1599 if (event.type == SDL_MOUSEBUTTONDOWN && d->ignoreClick) {
1607 d->ignoreClick = iFalse; 1600 d->ignoreClick = iFalse;
1608 return iTrue; 1601 return iTrue;