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/window-private.h | |
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/window-private.h')
-rw-r--r-- | src/core/window-private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/window-private.h b/src/core/window-private.h index e449b172..e775a59e 100644 --- a/src/core/window-private.h +++ b/src/core/window-private.h @@ -146,6 +146,7 @@ struct _MetaWindow * this is the current mode. If not, it is the mode which will be * requested after the window grab is released */ guint tile_mode : 2; + guint tile_resized : 1; /* The last "full" maximized/unmaximized state. We need to keep track of * that to toggle between normal/tiled or maximized/tiled states. */ |