diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/window.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/window.c b/src/core/window.c index 11b764bc..c7bad1af 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -2699,7 +2699,11 @@ meta_window_tile (MetaWindow *window) return; if(window->tile_mode == META_TILE_LEFT || window->tile_mode == META_TILE_RIGHT) - meta_window_maximize_internal (window, META_MAXIMIZE_VERTICAL, NULL); + { + MetaRectangle *saved_rect = NULL; + saved_rect = &window->saved_rect; + meta_window_maximize_internal (window, META_MAXIMIZE_VERTICAL, saved_rect); + } else meta_window_save_rect(window); |