summaryrefslogtreecommitdiff
path: root/src/core/window-private.h
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2017-08-30 15:13:58 -0400
committerVictor Kareh <[email protected]>2017-08-30 15:13:58 -0400
commitf396a2bebc9c365527c5c6e4d4d489879e8bbea4 (patch)
tree01a48bc49de888a02e3a08a4d83455176b95e9ab /src/core/window-private.h
parentc577f51e1e1258f8a6c55764a8b86d3421c466e7 (diff)
downloadmarco-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.h1
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. */