mirror of
https://github.com/brl/mutter.git
synced 2025-07-24 18:38:03 +00:00
display: add support for more cursor types
These cursors are used by gnome-shell, supporting them allows to reduce GDK usage in the shell. Also, make meta_screen_set_cursor() public. https://bugzilla.gnome.org/show_bug.cgi?id=707919
This commit is contained in:
@@ -260,6 +260,13 @@ typedef enum
|
||||
* @META_CURSOR_NW_RESIZE: Resize north-western corner cursor
|
||||
* @META_CURSOR_MOVE_OR_RESIZE_WINDOW: Move or resize cursor
|
||||
* @META_CURSOR_BUSY: Busy cursor
|
||||
* @META_CURSOR_DND_IN_DRAG: DND in drag cursor
|
||||
* @META_CURSOR_DND_MOVE: DND move cursor
|
||||
* @META_CURSOR_DND_COPY: DND copy cursor
|
||||
* @META_CURSOR_DND_UNSUPPORTED_TARGET: DND unsupported target
|
||||
* @META_CURSOR_POINTING_HAND: pointing hand
|
||||
* @META_CURSOR_CROSSHAIR: crosshair (action forbidden)
|
||||
* @META_CURSOR_IBEAM: I-beam (text input)
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
@@ -273,8 +280,15 @@ typedef enum
|
||||
META_CURSOR_NE_RESIZE,
|
||||
META_CURSOR_NW_RESIZE,
|
||||
META_CURSOR_MOVE_OR_RESIZE_WINDOW,
|
||||
META_CURSOR_BUSY
|
||||
|
||||
META_CURSOR_BUSY,
|
||||
META_CURSOR_DND_IN_DRAG,
|
||||
META_CURSOR_DND_MOVE,
|
||||
META_CURSOR_DND_COPY,
|
||||
META_CURSOR_DND_UNSUPPORTED_TARGET,
|
||||
META_CURSOR_POINTING_HAND,
|
||||
META_CURSOR_CROSSHAIR,
|
||||
META_CURSOR_IBEAM,
|
||||
META_CURSOR_LAST
|
||||
} MetaCursor;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user