From 0e26e95b0010c5e7eeec2ef0f49097999a7d4e9c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 18 Apr 2019 20:15:39 +0000 Subject: [PATCH] window: Fix an oversight We must still reset cursors. --- gtk/gtkwindow.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 57ea9b14ce..5babfe6b12 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -1786,9 +1786,11 @@ gtk_window_capture_motion (GtkWidget *widget, if (edge_under_coordinates (GTK_WINDOW (widget), x, y, i)) { gtk_widget_set_cursor_from_name (widget, cursor_names[i]); - break; + return; } } + + gtk_widget_set_cursor (widget, NULL); } static void