From e43cf41d6f029af8c3e8c656a70f22ab386b2f89 Mon Sep 17 00:00:00 2001 From: Omar Zeidan Date: Sat, 30 Dec 2017 10:21:29 +0100 Subject: Small bugfix for the move_to_X keybinds --- src/core/constraints.c | 2 +- src/core/keybindings.c | 2 +- 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, -- cgit v1.2.1