display: fix inverted check from 75184d4c55
I noticed it, Jasper noticed it, we agreed to change it, and then I forgot to do it before pushing...
This commit is contained in:
parent
b9a5d710b7
commit
89aa5df711
@ -2388,7 +2388,7 @@ handle_input_xevent (MetaDisplay *display,
|
||||
if (!window)
|
||||
{
|
||||
/* Check if the window is a root window. */
|
||||
if (enter_event->root == enter_event->event)
|
||||
if (enter_event->root != enter_event->event)
|
||||
break;
|
||||
|
||||
if (enter_event->evtype == XI_FocusIn &&
|
||||
|
Loading…
Reference in New Issue
Block a user