summaryrefslogtreecommitdiff
path: root/src/core/keybindings.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2020-08-15 00:12:47 +0200
committerVictor Kareh <[email protected]>2020-08-18 07:27:24 -0400
commitaaa8cf0b7b32536398846b8cf28250e0150f55b2 (patch)
tree9127b2fc77d72505a88aa4c6c368267b20146467 /src/core/keybindings.c
parent37e4d38ca3a61eb843d80732a26f29668352433d (diff)
downloadmarco-aaa8cf0b7b32536398846b8cf28250e0150f55b2.tar.bz2
marco-aaa8cf0b7b32536398846b8cf28250e0150f55b2.tar.xz
window: expand tile size cycling support
Diffstat (limited to 'src/core/keybindings.c')
-rw-r--r--src/core/keybindings.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index 1ee36b5e..faf1a530 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -3163,7 +3163,7 @@ handle_toggle_tiled (MetaDisplay *display,
}
else
{
- /* Cycle through the different tile sizes: 1/2 -> 1/3 -> 1/4 -> 3/4 -> 2/3 -> Untiled */
+ /* Cycle through the different tile sizes: 1/2 -> 1/3 -> 1/4 -> 1/1 -> 3/4 -> 2/3 -> Untiled */
switch (window->tile_cycle)
{
case META_TILE_CYCLE_NONE:
@@ -3176,6 +3176,9 @@ handle_toggle_tiled (MetaDisplay *display,
next_cycle = META_TILE_CYCLE_25;
break;
case META_TILE_CYCLE_25:
+ next_cycle = META_TILE_CYCLE_100;
+ break;
+ case META_TILE_CYCLE_100:
next_cycle = META_TILE_CYCLE_75;
break;
case META_TILE_CYCLE_75: