[gtk+/wip/matthiasc/kill-event-signals] Fix pointer obscuring in text view



commit 0881efb6e9c860c1b56516c0497d4aa2dfba515b
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jan 2 15:46:19 2018 -0500

    Fix pointer obscuring in text view
    
    The code for hiding the mouse cursor until the next motion
    event was not working, probably due to a typo here.

 gtk/gtkwindow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 1838ae8..500f296 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -11528,7 +11528,7 @@ gtk_window_maybe_update_cursor (GtkWindow *window,
           if (grab_widget && grab_widget != widget &&
               !gtk_widget_is_ancestor (widget, grab_widget))
             continue;
-          if (grab_widget != widget &&
+          if (target != widget &&
               !gtk_widget_is_ancestor (target, widget))
             continue;
         }


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