diff options
author | raveit65 <[email protected]> | 2020-08-15 00:12:47 +0200 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2020-08-18 07:27:24 -0400 |
commit | aaa8cf0b7b32536398846b8cf28250e0150f55b2 (patch) | |
tree | 9127b2fc77d72505a88aa4c6c368267b20146467 /src/core/keybindings.c | |
parent | 37e4d38ca3a61eb843d80732a26f29668352433d (diff) | |
download | marco-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.c | 5 |
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: |