[Wayland-bugs] [Bug 783901] Restoring maximized window state in Wayland results in tiny window

mutter (GNOME Bugzilla) bugzilla at gnome.org
Thu Jan 11 09:35:06 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=783901

Olivier Fourdan <ofourdan at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #366610|reviewed                    |none
             status|                            |
 Attachment #366610|0                           |1
        is obsolete|                            |

--- Comment #38 from Olivier Fourdan <ofourdan at redhat.com> ---
Created attachment 366644
  --> https://bugzilla.gnome.org/attachment.cgi?id=366644&action=edit
[PATCH 3/3] wayland: update location prior to maximize

(In reply to Jonas Ã…dahl from comment #37)
> Review of attachment 366610 [details] [review]:
> 
> ::: src/wayland/meta-window-wayland.c
> @@ +339,3 @@
> +      window->rect.x = configured_x;
> +      window->rect.y = configured_y;
> +    }
> 
> Would it make any sense to use "can_move_now"? The buffer_rect and rect will
> now be out-of-synch.

Sure, works as well :)

-- 
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/20180111/eff6a4da/attachment.html>


More information about the wayland-bugs mailing list