summaryrefslogtreecommitdiff
path: root/src/ui/theme.c
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2019-06-01 21:16:00 -0400
committerraveit65 <[email protected]>2019-06-16 18:12:44 +0200
commita28666ee996ffd1d293751b642275c971e0d0124 (patch)
treeb48f8829fd884402b3976f04489e8f31be1c224c /src/ui/theme.c
parentf424a92933a07a7135023c47bfbee8f77bb68659 (diff)
downloadmarco-a28666ee996ffd1d293751b642275c971e0d0124.tar.bz2
marco-a28666ee996ffd1d293751b642275c971e0d0124.tar.xz
theme: Fix window state when tiling from maximized
Diffstat (limited to 'src/ui/theme.c')
-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 423d5c1c..3b11c131 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -5462,9 +5462,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: