Read-only mirror of https://gitlab.gnome.org/GNOME/mutter
bb2e8ff09a
Wayland windows are initially zero sized until clients commit the first buffer. Despite being invisible, clients are allowed to request such windows to be fullscreened on a specific output before they attach the first buffer which means we need to be able to move them. meta_window_move_to_monitor() doesn't handle this case because these windows' initial monitor is a placeholder since their initial coordinates are 0,0+0+0, which results in us using a rectangle as old_area for meta_window_move_between_rects() that might be to the "right" of the window causing the move to go further out of the visible screen's coordinates. This is later "corrected" by the constraints system but the window might end up in the wrong monitor. To fix this, we can make meta_window_move_between_rects() accept a NULL old_area, meaning that we move the window to the new_area without trying to keep a relative position. https://bugzilla.gnome.org/show_bug.cgi?id=772525 |
||
---|---|---|
clutter | ||
cogl | ||
data | ||
doc | ||
po | ||
src | ||
tools | ||
.gitignore | ||
autogen.sh | ||
configure.ac | ||
COPYING | ||
Makefile.am | ||
mutter.doap | ||
NEWS |