[Wayland-bugs] [Bug 782183] wayland: new window momentarily displays on wrong monitor

mutter (GNOME Bugzilla) bugzilla at gnome.org
Tue May 16 09:36:46 UTC 2017


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

Olivier Fourdan <ofourdan at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #351522|needs-work                  |none
             status|                            |
 Attachment #351522|0                           |1
        is obsolete|                            |

--- Comment #9 from Olivier Fourdan <ofourdan at redhat.com> ---
Created attachment 351955
  --> https://bugzilla.gnome.org/attachment.cgi?id=351955&action=edit
[PATCH] wayland: place window if maximized before placement

If a client changes the state of a surface to issue a set_maximize, this
causes the window to be showing early due to apply_pending_state() being
called before placement.

If the monitor on which the window is to be shown initially is different
from the one where the pointer is placed, this causes the effect to be
played at the wrong location before the window reaches its monitor
location.

Force the window to be placed prior to change its state to maximized in
xdg-shell so that mutter won't relocate the window afterwards.

-- 
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/20170516/51d9815e/attachment-0001.html>


More information about the wayland-bugs mailing list