diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/display.c b/src/core/display.c index 70c5e2b7..c44a42ac 100644 --- a/src/core/display.c +++ b/src/core/display.c @@ -2304,7 +2304,7 @@ event_callback (XEvent *event, XIEnterEvent *enter_event = (XIEnterEvent *) input_event; if (window && !window->override_redirect && - ((input_event->type == XI_KeyPress) || (input_event->type == XI_ButtonPress))) + ((input_event->evtype == XI_KeyPress) || (input_event->evtype == XI_ButtonPress))) { if (CurrentTime == display->current_time) { |