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

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


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

--- Comment #11 from Olivier Fourdan <ofourdan at redhat.com> ---
(In reply to Jonas Ã…dahl from comment #10)
> 
> [...]
> 
> First thing I can think of is to move part of the maximize code behind a
> MetaWindowClass vfunc, as there are multiple things in
> meta_window_maximize() that is X11 only (such as unshading, and this
> defer-maximize thing).
> 
> Another idea, is to get rid of that deferred-maximize thing all together. It
> seems to originate from 2003 with no explanation as to why, and I don't know
> how to trigger it either. When checking how it works with the panel-gtk test
> case under X11, window-props.c handles initial maximization in a different
> way. Given that meta_window_maximize() seems to be called mostly by
> interactive window management operations, the two places I think needs
> consideration are: meta_window_apply_session_info() (should probably set the
> defer-maximize variables, as done in window-props.c), and
> meta_window_x11_client_message().

I am not sure I follow, what is it you call "deferred-maximize", is it
maximize_horizontally_after_placement and maximize_vertically_after_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/20170519/1026967d/attachment-0001.html>


More information about the wayland-bugs mailing list