[mutter] window/x11: Allow window resize while moving
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] window/x11: Allow window resize while moving
- Date: Wed, 14 Apr 2021 17:21:27 +0000 (UTC)
commit cc928ba7d21b837842203b22c080a72b3a380adb
Author: Olivier Fourdan <ofourdan redhat com>
Date: Mon Mar 8 09:33:00 2021 +0100
window/x11: Allow window resize while moving
Commit f2328f11 would ignore any ConfigureRequest from X11 clients while
there is an interactive user operation in progress.
Yet, the user should be allowed to move a window while the X11 client is
resizing it, as the two operations are not intrinsically incompatible.
https://gitlab.gnome.org/GNOME/mutter/-/issues/1674
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1777>
src/x11/window-x11.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/x11/window-x11.c b/src/x11/window-x11.c
index 00c8d3c1d4..3f136af4f7 100644
--- a/src/x11/window-x11.c
+++ b/src/x11/window-x11.c
@@ -2575,7 +2575,7 @@ meta_window_move_resize_request (MetaWindow *window,
width = window->rect.width;
height = window->rect.height;
- if (!in_grab_op)
+ if (!in_grab_op || !meta_grab_op_is_resizing (window->display->grab_op))
{
if (value_mask & CWWidth)
width = new_width;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]