summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Zeidan <[email protected]>2017-12-30 10:21:29 +0100
committerraveit65 <[email protected]>2018-01-15 17:29:48 +0100
commite43cf41d6f029af8c3e8c656a70f22ab386b2f89 (patch)
tree721990734b7b675bf52e4d26d583435e48b37192
parentdc894ffdd14a61d934af625af10fb384e89ef375 (diff)
downloadmarco-e43cf41d6f029af8c3e8c656a70f22ab386b2f89.tar.bz2
marco-e43cf41d6f029af8c3e8c656a70f22ab386b2f89.tar.xz
Small bugfix for the move_to_X keybinds
-rw-r--r--src/core/constraints.c2
-rw-r--r--src/core/keybindings.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/constraints.c b/src/core/constraints.c
index b4f9b551..c31c525d 100644
--- a/src/core/constraints.c
+++ b/src/core/constraints.c
@@ -800,7 +800,7 @@ constrain_maximization (MetaWindow *window,
/* Determine whether constraint applies; exit if it doesn't */
if ((!window->maximized_horizontally && !window->maximized_vertically) ||
- META_WINDOW_SIDE_TILED (window))
+ META_WINDOW_TILED (window))
return TRUE;
/* Calculate target_size = maximized size of (window + frame) */
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index a141e2c1..d126eb0c 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -2558,7 +2558,7 @@ handle_move_to_corner_backend (MetaDisplay *display,
}
meta_window_move_resize (window,
- FALSE,
+ TRUE,
new_x,
new_y,
window->rect.width,