diff options
author | Victor Kareh <[email protected]> | 2019-06-01 21:16:00 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-06-16 18:12:44 +0200 |
commit | a28666ee996ffd1d293751b642275c971e0d0124 (patch) | |
tree | b48f8829fd884402b3976f04489e8f31be1c224c /src/ui/theme.c | |
parent | f424a92933a07a7135023c47bfbee8f77bb68659 (diff) | |
download | marco-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.c | 2 |
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: |