window/wayland: Calculate position also for acked fullscreen configs

An acked fullscreen window also need to have its position updated in
response to a configure ack, so that it's moved to the right position
(e.g. correct monitor).

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2338>
This commit is contained in:
Jonas Ådahl
2022-03-04 10:06:19 +01:00
committed by Marge Bot
parent 2a62e690a2
commit 47c8063b30
4 changed files with 16 additions and 8 deletions

View File

@ -370,9 +370,10 @@ setup_constraint_info (ConstraintInfo *info,
info->action_type = ACTION_RESIZE;
else if (flags & META_MOVE_RESIZE_MOVE_ACTION)
info->action_type = ACTION_MOVE;
else if (flags & META_MOVE_RESIZE_WAYLAND_FINISH_MOVE_RESIZE)
info->action_type = ACTION_MOVE;
else
g_error ("BAD, BAD developer! No treat for you! (Fix your calls to "
"meta_window_move_resize_internal()).");
g_assert_not_reached ();
info->is_user_action = (flags & META_MOVE_RESIZE_USER_ACTION);