mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
display: Fix checks for KeyPress/ButtonPress
https://bugzilla.gnome.org/show_bug.cgi?id=720545
This commit is contained in:
parent
01e0eaf1fc
commit
491b17af19
@ -2304,7 +2304,7 @@ event_callback (XEvent *event,
|
|||||||
XIEnterEvent *enter_event = (XIEnterEvent *) input_event;
|
XIEnterEvent *enter_event = (XIEnterEvent *) input_event;
|
||||||
|
|
||||||
if (window && !window->override_redirect &&
|
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)
|
if (CurrentTime == display->current_time)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user