Make mouse cursor when moving windows become a hand. Fixes #337376.

2006-05-22  Björn Lindqvist  <bjourne@gmail.com>

	* common.h (enum MetaCursor):
	* display.c (meta_display_create_x_cursor): Make mouse cursor when
	moving windows become a hand. Fixes #337376.
This commit is contained in:
Björn Lindqvist 2006-05-22 16:12:28 +00:00 committed by Björn Lindqvist
parent 3e394580da
commit cdb94d7e57
3 changed files with 9 additions and 9 deletions

View File

@ -1,3 +1,9 @@
2006-05-22 Björn Lindqvist <bjourne@gmail.com>
* common.h (enum MetaCursor):
* display.c (meta_display_create_x_cursor): Make mouse cursor when
moving windows become a hand. Fixes #337376.
2006-05-19 Björn Lindqvist <bjourne@gmail.com>
* frames.c: Fix a logic bug so that the whole titlebar becomes

View File

@ -143,8 +143,7 @@ typedef enum
META_CURSOR_SW_RESIZE,
META_CURSOR_NE_RESIZE,
META_CURSOR_NW_RESIZE,
META_CURSOR_MOVE_WINDOW,
META_CURSOR_RESIZE_WINDOW,
META_CURSOR_MOVE_OR_RESIZE_WINDOW,
META_CURSOR_BUSY
} MetaCursor;

View File

@ -3064,10 +3064,7 @@ meta_display_create_x_cursor (MetaDisplay *display,
case META_CURSOR_NW_RESIZE:
glyph = XC_top_left_corner;
break;
case META_CURSOR_MOVE_WINDOW:
glyph = XC_plus;
break;
case META_CURSOR_RESIZE_WINDOW:
case META_CURSOR_MOVE_OR_RESIZE_WINDOW:
glyph = XC_fleur;
break;
case META_CURSOR_BUSY:
@ -3127,10 +3124,8 @@ xcursor_for_op (MetaDisplay *display,
break;
case META_GRAB_OP_MOVING:
case META_GRAB_OP_KEYBOARD_MOVING:
cursor = META_CURSOR_MOVE_WINDOW;
break;
case META_GRAB_OP_KEYBOARD_RESIZING_UNKNOWN:
cursor = META_CURSOR_RESIZE_WINDOW;
cursor = META_CURSOR_MOVE_OR_RESIZE_WINDOW;
break;
default: