mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-16 06:59:47 -05:00
Move grab definitions to wayland-util.h
These tokens really are part of the protocol and we need to extend the scanner to generate them.
This commit is contained in:
parent
5753188e16
commit
f1ef15cb45
3 changed files with 30 additions and 30 deletions
|
|
@ -50,23 +50,6 @@ struct wlsc_output {
|
|||
int32_t x, y, width, height;
|
||||
};
|
||||
|
||||
/* These should be part of the protocol */
|
||||
enum wlsc_grab_type {
|
||||
WLSC_DEVICE_GRAB_NONE = 0,
|
||||
WLSC_DEVICE_GRAB_RESIZE_TOP = 1,
|
||||
WLSC_DEVICE_GRAB_RESIZE_BOTTOM = 2,
|
||||
WLSC_DEVICE_GRAB_RESIZE_LEFT = 4,
|
||||
WLSC_DEVICE_GRAB_RESIZE_TOP_LEFT = 5,
|
||||
WLSC_DEVICE_GRAB_RESIZE_BOTTOM_LEFT = 6,
|
||||
WLSC_DEVICE_GRAB_RESIZE_RIGHT = 8,
|
||||
WLSC_DEVICE_GRAB_RESIZE_TOP_RIGHT = 9,
|
||||
WLSC_DEVICE_GRAB_RESIZE_BOTTOM_RIGHT = 10,
|
||||
WLSC_DEVICE_GRAB_RESIZE_MASK = 15,
|
||||
WLSC_DEVICE_GRAB_MOVE = 16,
|
||||
WLSC_DEVICE_GRAB_MOTION = 17,
|
||||
WLSC_DEVICE_GRAB_DRAG = 18
|
||||
};
|
||||
|
||||
enum wlsc_pointer_type {
|
||||
WLSC_POINTER_BOTTOM_LEFT,
|
||||
WLSC_POINTER_BOTTOM_RIGHT,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue