]> hydra-www.ietfng.org Git - gtetrinet/commitdiff
changed the cursor when it is above the fields to be a X_CURSOR
authorDaniel Carbonell Fraj <bocata@src.gnome.org>
Wed, 20 Aug 2003 16:01:39 +0000 (16:01 +0000)
committerDaniel Carbonell Fraj <bocata@src.gnome.org>
Wed, 20 Aug 2003 16:01:39 +0000 (16:01 +0000)
ChangeLog
src/fields.c

index 4b0e4230801da191543e779a88572d5fe77c4fc7..0c4fa7e969259accaf0583938dccca5a308598ed 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-08-20  Dani Carbonell  <bocata@panete.net>
+
+       * src/fields.c (fields_page_new): Changed the cursor when the
+       mouse is above the fields to be GDK_X_CURSOR. This seems to behave
+       better with X 4.3.x
+
 2003-08-16  Dani Carbonell  <bocata@panete.net>
 
        * src/config.c: Addded missing default keys to the 'defaultkeys'
index a34be6b27f0fab7bd8359bb405b683c737d1e1a0..98c1be130f5a2aa46273573dfcb446e58906e219 100644 (file)
@@ -61,17 +61,6 @@ static GdkCursor *invisible_cursor, *arrow_cursor;
 static FIELD displayfields[6]; /* what is actually displayed */
 static TETRISBLOCK displayblock;
 
-/*
-  GdkColor black = {0,0,0};
-  GdkBitmap *bitmap;
-  GdkCursor *invisible_cursor, *current_cursor;
-  
-  bitmap = gdk_bitmap_create_from_data (widget->window, "\0", 1, 1);
-  invisible_cursor = gdk_cursor_new_from_pixmap (bitmap, bitmap, &black, &black, 0, 0);
-
-  gdk_window_set_cursor (window, cursor);
-*/
-
 void fields_init (void)
 {
     GtkWidget *mb;
@@ -123,7 +112,7 @@ GtkWidget *fields_page_new (void)
     /* create the cursors */
     bitmap = gdk_bitmap_create_from_data (GTK_WIDGET (fieldspage)->window, "\0", 1, 1);
     invisible_cursor = gdk_cursor_new_from_pixmap (bitmap, bitmap, &black, &black, 0, 0);
-    arrow_cursor = gdk_cursor_new (GDK_ARROW);
+    arrow_cursor = gdk_cursor_new (GDK_X_CURSOR);
 
     return fieldspage;
 }