[Wayland-bugs] [Bug 783901] Restoring maximized window state in Wayland results in tiny window
mutter (GNOME Bugzilla)
bugzilla at gnome.org
Tue Jan 9 06:55:57 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=783901
Jonas Ådahl <jadahl at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #354148|none |reviewed
status| |
--- Comment #31 from Jonas Ådahl <jadahl at gmail.com> ---
Review of attachment 354148:
::: src/wayland/meta-wayland-xdg-shell.c
@@ +355,3 @@
+ /* Make sure the position is up-to-date prior to call maximize */
+ window->rect.x = window->unconstrained_rect.x;
+ window->rect.y = window->unconstrained_rect.y;
This looks like its working around something in force_placement().
Shouldn't we fix this in meta_window_wayland_move_resize_internal()? It looks
like we should be able to set "can_move_now" to TRUE if we are "!placed" (which
will be set to TRUE after the move resize call), or possibly adding another
MOVE_RESIZE flag "force" that forces the placement?
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20180109/a52df6e0/attachment.html>
More information about the wayland-bugs
mailing list