summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2019-06-01 21:16:00 -0400
committerVictor Kareh <[email protected]>2019-06-05 10:49:37 -0400
commit40301a79d866d1c8117872637d24bce5b2546c08 (patch)
treeede3e9eb9251c84e800d1295da04b6705b62addb /src
parentdf56628979abc17474b001c58c28c6f3637ada9d (diff)
downloadmarco-40301a79d866d1c8117872637d24bce5b2546c08.tar.bz2
marco-40301a79d866d1c8117872637d24bce5b2546c08.tar.xz
theme: Fix window state when tiling from maximized
Diffstat (limited to 'src')
-rw-r--r--src/ui/theme.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/theme.c b/src/ui/theme.c
index 73f8fc78..11cf3608 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -5460,9 +5460,11 @@ theme_get_style (MetaTheme *theme,
state = META_FRAME_STATE_MAXIMIZED;
break;
case META_FRAME_TILED_LEFT:
+ case (META_FRAME_MAXIMIZED | META_FRAME_TILED_LEFT):
state = META_FRAME_STATE_TILED_LEFT;
break;
case META_FRAME_TILED_RIGHT:
+ case (META_FRAME_MAXIMIZED | META_FRAME_TILED_RIGHT):
state = META_FRAME_STATE_TILED_RIGHT;
break;
case META_FRAME_SHADED: