From: Daniel Carbonell Fraj Date: Wed, 20 Aug 2003 16:01:39 +0000 (+0000) Subject: changed the cursor when it is above the fields to be a X_CURSOR X-Git-Url: https://hydra-www.ietfng.org/gitweb/?a=commitdiff_plain;h=3c753d5357bcabe68c1a7dfe900b0ecb2115a81b;p=gtetrinet changed the cursor when it is above the fields to be a X_CURSOR --- diff --git a/ChangeLog b/ChangeLog index 4b0e423..0c4fa7e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-08-20 Dani Carbonell + + * 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 * src/config.c: Addded missing default keys to the 'defaultkeys' diff --git a/src/fields.c b/src/fields.c index a34be6b..98c1be1 100644 --- a/src/fields.c +++ b/src/fields.c @@ -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; }