diff options
author | Victor Kareh <[email protected]> | 2017-08-30 15:13:58 -0400 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2017-08-30 15:13:58 -0400 |
commit | f396a2bebc9c365527c5c6e4d4d489879e8bbea4 (patch) | |
tree | 01a48bc49de888a02e3a08a4d83455176b95e9ab /src/core/keybindings.c | |
parent | c577f51e1e1258f8a6c55764a8b86d3421c466e7 (diff) | |
download | marco-f396a2bebc9c365527c5c6e4d4d489879e8bbea4.tar.bz2 marco-f396a2bebc9c365527c5c6e4d4d489879e8bbea4.tar.xz |
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.
Diffstat (limited to 'src/core/keybindings.c')
-rw-r--r-- | src/core/keybindings.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 |