From 970ef35a628753f2dc8dc6ad2160b0c03bcb066b Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Wed, 28 Sep 2022 12:10:55 +0200 Subject: [PATCH] core: Drop META_GRAB_OP_FRAME_BUTTON This is no longer used, since frames and their buttons are no longer handled by Mutter. Part-of: --- src/core/display.c | 3 --- src/meta/meta-enums.h | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/core/display.c b/src/core/display.c index bb43e1469..526674c3b 100644 --- a/src/core/display.c +++ b/src/core/display.c @@ -1832,9 +1832,6 @@ get_event_route_from_grab_op (MetaGrabOp op) case META_GRAB_OP_WAYLAND_POPUP: return META_EVENT_ROUTE_WAYLAND_POPUP; - case META_GRAB_OP_FRAME_BUTTON: - return META_EVENT_ROUTE_FRAME_BUTTON; - default: g_assert_not_reached (); return 0; diff --git a/src/meta/meta-enums.h b/src/meta/meta-enums.h index c4125e1cd..a2dc51b78 100644 --- a/src/meta/meta-enums.h +++ b/src/meta/meta-enums.h @@ -135,9 +135,6 @@ typedef enum /* For when a Wayland client takes a popup grab. */ META_GRAB_OP_WAYLAND_POPUP, - /* 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, META_GRAB_OP_RESIZING_N = META_GRAB_OP_WINDOW_BASE | _WGO_N,