summaryrefslogtreecommitdiff
path: root/src/core/keybindings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/keybindings.c')
-rw-r--r--src/core/keybindings.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index 0c9a5e27..388c723f 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -3156,7 +3156,9 @@ handle_unmaximize (MetaDisplay *display,
XEvent *event,
MetaKeyBinding *binding)
{
- if (window->maximized_vertically || window->maximized_horizontally)
+ if (window->maximized_vertically ||
+ window->maximized_horizontally ||
+ META_WINDOW_CORNER_TILED((window)))
meta_window_unmaximize (window,
META_MAXIMIZE_HORIZONTAL |
META_MAXIMIZE_VERTICAL);