Skip to content

Commit

Permalink
theme: Fix window state when tiling from maximized
Browse files Browse the repository at this point in the history
  • Loading branch information
vkareh committed Jun 5, 2019
1 parent df56628 commit 40301a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ui/theme.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 40301a7

Please sign in to comment.