mirror of
https://github.com/brl/mutter.git
synced 2024-11-11 00:26:40 -05:00
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)
|
if (!window)
|
||||||
{
|
{
|
||||||
/* Check if the window is a root window. */
|
/* Check if the window is a root window. */
|
||||||
if (enter_event->root == enter_event->event)
|
if (enter_event->root != enter_event->event)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if (enter_event->evtype == XI_FocusIn &&
|
if (enter_event->evtype == XI_FocusIn &&
|
||||||
|
Loading…
Reference in New Issue
Block a user