[mutter/wayland] display: fix inverted check from 75184d4c5582ef593c56bb77f3a88a7742e91816



commit 89aa5df711693f8f382427900711bd9979b6f945
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Thu Feb 27 14:45:10 2014 +0100

    display: fix inverted check from 75184d4c5582ef593c56bb77f3a88a7742e91816
    
    I noticed it, Jasper noticed it, we agreed to change it, and then
    I forgot to do it before pushing...

 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 3631eeb..2ae5db4 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -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 &&


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]