diff options
Diffstat (limited to 'views/window/window_gtk.cc')
-rw-r--r-- | views/window/window_gtk.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/views/window/window_gtk.cc b/views/window/window_gtk.cc index 9c3cba6..8f64a5b3 100644 --- a/views/window/window_gtk.cc +++ b/views/window/window_gtk.cc @@ -332,6 +332,14 @@ gboolean WindowGtk::OnWindowStateEvent(GtkWidget* widget, return FALSE; } +gboolean WindowGtk::OnLeaveNotify(GtkWidget* widget, GdkEventCrossing* event) { + GdkCursor* cursor = gdk_cursor_new(GDK_LEFT_PTR); + gdk_window_set_cursor(widget->window, cursor); + gdk_cursor_destroy(cursor); + + return WidgetGtk::OnLeaveNotify(widget, event); +} + //////////////////////////////////////////////////////////////////////////////// // WindowGtk, protected: |