wayland: Avoid meta_window_move_resize_internal()
We are using no placing flags, so this is essentially the same as meta_window_move_resize(). Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3972>
This commit is contained in:
parent
4664fce695
commit
92cbefd863
@ -425,12 +425,11 @@ meta_wayland_xdg_session_state_restore_window (MetaSessionState *state,
|
||||
|
||||
if (rect)
|
||||
{
|
||||
meta_window_move_resize_internal (window,
|
||||
meta_window_move_resize (window,
|
||||
(META_MOVE_RESIZE_WAYLAND_CLIENT_RESIZE |
|
||||
META_MOVE_RESIZE_WAYLAND_FINISH_MOVE_RESIZE |
|
||||
META_MOVE_RESIZE_MOVE_ACTION |
|
||||
META_MOVE_RESIZE_RESIZE_ACTION),
|
||||
META_PLACE_FLAG_NONE,
|
||||
*rect);
|
||||
}
|
||||
|
||||
|
@ -1342,10 +1342,7 @@ meta_window_wayland_finish_move_resize (MetaWindow *window,
|
||||
meta_window_actor_set_tied_to_drag (window_actor, TRUE);
|
||||
}
|
||||
|
||||
meta_window_move_resize_internal (window,
|
||||
flags,
|
||||
META_PLACE_FLAG_NONE,
|
||||
rect);
|
||||
meta_window_move_resize (window, flags, rect);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
x
Reference in New Issue
Block a user