From 2b58efbcbbcb3ad8d55307ac56d38f6f667ccc5b Mon Sep 17 00:00:00 2001 From: Sebastian Keller Date: Thu, 1 Jun 2023 01:42:41 +0200 Subject: [PATCH] meta: Remove unused MetaFrameFlags enum It has been unused since 04fa926e, but could not be removed before branching due to being in a public header. Part-of: --- src/meta/meta-enums.h | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/src/meta/meta-enums.h b/src/meta/meta-enums.h index ad40f5513..da36284f7 100644 --- a/src/meta/meta-enums.h +++ b/src/meta/meta-enums.h @@ -27,41 +27,6 @@ typedef enum _MetaCompositorType META_COMPOSITOR_TYPE_X11, } MetaCompositorType; -/** - * MetaFrameFlags: - * @META_FRAME_ALLOWS_DELETE: frame allows delete - * @META_FRAME_ALLOWS_MENU: frame allows menu - * @META_FRAME_ALLOWS_MINIMIZE: frame allows minimize - * @META_FRAME_ALLOWS_MAXIMIZE: frame allows maximize - * @META_FRAME_ALLOWS_VERTICAL_RESIZE: frame allows vertical resize - * @META_FRAME_ALLOWS_HORIZONTAL_RESIZE: frame allows horizontal resize - * @META_FRAME_HAS_FOCUS: frame has focus - * @META_FRAME_STUCK: frame is stuck - * @META_FRAME_MAXIMIZED: frame is maximized - * @META_FRAME_ALLOWS_MOVE: frame allows move - * @META_FRAME_FULLSCREEN: frame allows fullscreen - * @META_FRAME_ABOVE: frame is above - * @META_FRAME_TILED_LEFT: frame is tiled to the left - * @META_FRAME_TILED_RIGHT: frame is tiled to the right - */ -typedef enum -{ - META_FRAME_ALLOWS_DELETE = 1 << 0, - META_FRAME_ALLOWS_MENU = 1 << 1, - META_FRAME_ALLOWS_MINIMIZE = 1 << 2, - META_FRAME_ALLOWS_MAXIMIZE = 1 << 3, - META_FRAME_ALLOWS_VERTICAL_RESIZE = 1 << 4, - META_FRAME_ALLOWS_HORIZONTAL_RESIZE = 1 << 5, - META_FRAME_HAS_FOCUS = 1 << 6, - META_FRAME_STUCK = 1 << 7, - META_FRAME_MAXIMIZED = 1 << 8, - META_FRAME_ALLOWS_MOVE = 1 << 9, - META_FRAME_FULLSCREEN = 1 << 10, - META_FRAME_ABOVE = 1 << 11, - META_FRAME_TILED_LEFT = 1 << 12, - META_FRAME_TILED_RIGHT = 1 << 13 -} MetaFrameFlags; - /** * MetaGrabOp: * @META_GRAB_OP_NONE: None