[gtk] window: Fix an oversight
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] window: Fix an oversight
- Date: Thu, 18 Apr 2019 21:50:23 +0000 (UTC)
commit 0e26e95b0010c5e7eeec2ef0f49097999a7d4e9c
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Apr 18 20:15:39 2019 +0000
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]