[gtk+/client-side-decorations: 91/92] Don't set a cursor if the widget doesn't specify one



commit d3c392c8e32de0406481983c87020cef061e960e
Author: Kristian Høgsberg <krh bitplanet net>
Date:   Mon Jan 4 13:10:16 2010 -0500

    Don't set a cursor if the widget doesn't specify one

 gtk/gtkwindow.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index d9f7e35..6479643 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -6453,11 +6453,6 @@ gtk_window_enter_notify_event (GtkWidget        *widget,
     {
       update_cursor_at_position (widget, x, y);
     }
-  else
-    {
-      GdkCursor *cursor = gdk_cursor_new (GDK_ARROW);
-      gdk_window_set_cursor (widget->window, cursor);
-    }
 
   return FALSE;
 }



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