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



commit 5955028b45b933dfc8721c99e321cfc85b6111ae
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 d752b16..a5ac63a 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -6399,11 +6399,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]