diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2020-03-19 03:24:47 +0200 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2020-04-30 01:05:30 +0300 |
commit | fbe4ece42047932e8a16c2eb3dbc12e615775b11 (patch) | |
tree | 92fe561ca5e8865e4764d2abd1e5e2eb51710826 /src/core/keybindings.c | |
parent | 44fd2beed4446ed72f12a5f22961d3cc748fd939 (diff) | |
download | metacity-fbe4ece42047932e8a16c2eb3dbc12e615775b11.tar.gz |
libmetacity: remove shade, stick and above buttons
1) These buttons are broken with default GTK theme. As nobody has
reported bug I assume these buttons are unused. GTK is default
theme type since 3.2.0.
2) These buttons are not supported by client side decorated
windows.
3) Few Metacity themes I checked had no icons for these buttons.
They had empty draw_ops...
4) These buttons has been removed also from Mutter.
Functionality itself is not removed! Still available using window
menu and/or keybindings.
Diffstat (limited to 'src/core/keybindings.c')
-rw-r--r-- | src/core/keybindings.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/core/keybindings.c b/src/core/keybindings.c index b46a4c27..63766e19 100644 --- a/src/core/keybindings.c +++ b/src/core/keybindings.c @@ -1351,12 +1351,6 @@ meta_display_process_key_event (MetaDisplay *display, case META_GRAB_OP_CLICKING_UNMAXIMIZE: case META_GRAB_OP_CLICKING_DELETE: case META_GRAB_OP_CLICKING_MENU: - case META_GRAB_OP_CLICKING_SHADE: - case META_GRAB_OP_CLICKING_UNSHADE: - case META_GRAB_OP_CLICKING_ABOVE: - case META_GRAB_OP_CLICKING_UNABOVE: - case META_GRAB_OP_CLICKING_STICK: - case META_GRAB_OP_CLICKING_UNSTICK: break; default: @@ -1689,12 +1683,6 @@ process_keyboard_resize_grab_op_change (MetaDisplay *display, case META_GRAB_OP_CLICKING_UNMAXIMIZE: case META_GRAB_OP_CLICKING_DELETE: case META_GRAB_OP_CLICKING_MENU: - case META_GRAB_OP_CLICKING_SHADE: - case META_GRAB_OP_CLICKING_UNSHADE: - case META_GRAB_OP_CLICKING_ABOVE: - case META_GRAB_OP_CLICKING_UNABOVE: - case META_GRAB_OP_CLICKING_STICK: - case META_GRAB_OP_CLICKING_UNSTICK: g_assert_not_reached (); break; |