summaryrefslogtreecommitdiff
path: root/src/core/keybindings.c
diff options
context:
space:
mode:
authorOmar Zeidan <[email protected]>2017-12-02 20:19:12 +0100
committerraveit65 <[email protected]>2017-12-20 20:42:12 +0100
commitb471b912d68a05711a95a3c0e033c0577262f18e (patch)
treec5af5d07d112d219e7cd7db6ddabcfe12308b4d0 /src/core/keybindings.c
parentd094cf0297f28b826ca742379750567750dfee9f (diff)
downloadmarco-b471b912d68a05711a95a3c0e033c0577262f18e.tar.bz2
marco-b471b912d68a05711a95a3c0e033c0577262f18e.tar.xz
Implemented simple corner tiling by mouse drag
Diffstat (limited to 'src/core/keybindings.c')
-rw-r--r--src/core/keybindings.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index fd17b49d..8006c9e1 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -1457,7 +1457,9 @@ process_mouse_move_resize_grab (MetaDisplay *display,
meta_window_maximize (window,
META_MAXIMIZE_HORIZONTAL |
META_MAXIMIZE_VERTICAL);
- else if (window->tile_mode == META_TILE_LEFT || window->tile_mode == META_TILE_RIGHT)
+ else if (window->tile_mode == META_TILE_LEFT ||
+ window->tile_mode == META_TILE_RIGHT||
+ META_WINDOW_QUARTER_TILED(window))
meta_window_tile (window);
else if (!display->grab_wireframe_active)
meta_window_move_resize (display->grab_window,