frames: Clutterify frame event handling

This lets us remove our horrible X11-based, GDK-based hacky frame event
handling in favor of a more sane one in Clutter.
This commit is contained in:
Jasper St. Pierre
2015-01-19 11:27:27 -08:00
parent ce14bde08d
commit d561b3b18f
10 changed files with 105 additions and 326 deletions

View File

@ -152,14 +152,17 @@ typedef enum
{
META_GRAB_OP_NONE,
/* Window grab ops. */
META_GRAB_OP_WINDOW_BASE,
/* Special grab op when the compositor asked for a grab */
META_GRAB_OP_COMPOSITOR,
/* For when a Wayland client takes a popup grab */
/* For when a Wayland client takes a popup grab. */
META_GRAB_OP_WAYLAND_POPUP,
/* Window grab ops. */
META_GRAB_OP_WINDOW_BASE,
/* For when the user clicks on a frame button. */
META_GRAB_OP_FRAME_BUTTON,
META_GRAB_OP_MOVING = META_GRAB_OP_WINDOW_BASE,
META_GRAB_OP_RESIZING_NW = META_GRAB_OP_WINDOW_BASE | _WGO_N | _WGO_W,