From f396a2bebc9c365527c5c6e4d4d489879e8bbea4 Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Wed, 30 Aug 2017 15:13:58 -0400 Subject: Store a window flag when user resizes from tiled Use that flag to retain the correct window size when performing other operations. Reset when re-tiling. --- src/core/keybindings.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/keybindings.c') diff --git a/src/core/keybindings.c b/src/core/keybindings.c index f4eb01b1..fd17b49d 100644 --- a/src/core/keybindings.c +++ b/src/core/keybindings.c @@ -3109,6 +3109,7 @@ handle_toggle_tiled (MetaDisplay *display, else if (meta_window_can_tile (window)) { window->tile_mode = mode; + window->tile_resized = FALSE; window->tile_monitor_number = meta_screen_get_xinerama_for_window (window->screen, window)->number; /* Maximization constraints beat tiling constraints, so if the window * is maximized, tiling won't have any effect unless we unmaximize it -- cgit v1.2.1