From aaa8cf0b7b32536398846b8cf28250e0150f55b2 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 15 Aug 2020 00:12:47 +0200 Subject: window: expand tile size cycling support --- src/core/keybindings.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/core/keybindings.c') 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: -- cgit v1.2.1