mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 13:24:09 +00:00
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>
This commit is contained in:
parent
91117bb052
commit
cc928ba7d2
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user