mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
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:
parent
3e394580da
commit
cdb94d7e57
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user