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



commit 49404e466def265e522524eb6ea973da90f6b469
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 e98e71f..4511a48 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]