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/window-private.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/window-private.h') 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. */ -- cgit v1.2.1