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

mutter (GNOME Bugzilla) bugzilla at gnome.org
Fri May 19 08:40:46 UTC 2017


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

--- Comment #15 from Jonas Ã…dahl <jadahl at gmail.com> ---
(In reply to Olivier Fourdan from comment #14)
> I think there is another thing to consider, if we remove the
> "maximize_*_after_placement" logic, the windows will most likely be
> misplaced when eventually they're de-maximized (as maximization is supposed
> to save the previous size/position so that de-maximizing a window restores
> the previous pre-maximization location and size on screen).

AFAICS, with force_place() before maximize() will end up not setting any old
rect. I think that also actually makes sense. We should probably not have
mutter pretend to know what to restore to, as in Wayland that is up to the
client. Initially we send 0x0, and I guess when restoring to something unknonw,
we should send 0x0 too.

-- 
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/20170519/7248f372/attachment.html>


More information about the wayland-bugs mailing list