summaryrefslogtreecommitdiff
path: root/src/core/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/window.c')
-rw-r--r--src/core/window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/window.c b/src/core/window.c
index 86bca3ec..92e230a0 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -2789,6 +2789,8 @@ meta_window_unmaximize (MetaWindow *window,
if (unmaximize_horizontally && unmaximize_vertically)
window->saved_maximize = FALSE;
+ window->tile_mode = META_TILE_NONE;
+
/* Only do something if the window isn't already maximized in the
* given direction(s).
*/