summaryrefslogtreecommitdiff
path: root/src/meta/meta-enums.h
diff options
context:
space:
mode:
authorRobert Mader <robert.mader@collabora.com>2023-03-03 13:24:42 +0100
committerMarge Bot <marge-bot@gnome.org>2023-03-03 19:17:51 +0000
commitb521747d8156777f68d2b7453929c8b978312dac (patch)
treec691e43db3bc1bc8a446f7703a4d27c79709cbde /src/meta/meta-enums.h
parent92ac922519d9b530fd38e0e1bbd93efb6cadeada (diff)
downloadmutter-b521747d8156777f68d2b7453929c8b978312dac.tar.gz
Remove support for window shading
It's been broken for an unknown time and was never supported on Wayland. Thus let's remove the leftovers. Helpful command: `rg 'shade(?!r)' --pcre2` Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2884>
Diffstat (limited to 'src/meta/meta-enums.h')
-rw-r--r--src/meta/meta-enums.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/src/meta/meta-enums.h b/src/meta/meta-enums.h
index 83198bc54..c449e3287 100644
--- a/src/meta/meta-enums.h
+++ b/src/meta/meta-enums.h
@@ -36,10 +36,8 @@ typedef enum _MetaCompositorType
* @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_SHADED: frame is shaded
* @META_FRAME_STUCK: frame is stuck
* @META_FRAME_MAXIMIZED: frame is maximized
- * @META_FRAME_ALLOWS_SHADE: frame allows shade
* @META_FRAME_ALLOWS_MOVE: frame allows move
* @META_FRAME_FULLSCREEN: frame allows fullscreen
* @META_FRAME_ABOVE: frame is above
@@ -55,15 +53,13 @@ typedef enum
META_FRAME_ALLOWS_VERTICAL_RESIZE = 1 << 4,
META_FRAME_ALLOWS_HORIZONTAL_RESIZE = 1 << 5,
META_FRAME_HAS_FOCUS = 1 << 6,
- META_FRAME_SHADED = 1 << 7,
- META_FRAME_STUCK = 1 << 8,
- META_FRAME_MAXIMIZED = 1 << 9,
- META_FRAME_ALLOWS_SHADE = 1 << 10,
- META_FRAME_ALLOWS_MOVE = 1 << 11,
- META_FRAME_FULLSCREEN = 1 << 12,
- META_FRAME_ABOVE = 1 << 13,
- META_FRAME_TILED_LEFT = 1 << 14,
- META_FRAME_TILED_RIGHT = 1 << 15
+ 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;
/**