Read-only mirror of https://gitlab.gnome.org/GNOME/mutter
1d280d8fa1
In order for the compositor plugin to be able to animate window size changes properly we need to let it know of the starting and final window sizes. For X clients this can be done synchronously and thus with a single call into the compositor plugin since it's us (the window manager) who's in charge of the final window size. Wayland clients though, have the final say over their window size since it's determined from the client allocated buffer. This patch moves the meta_compositor_size_change_window() calls before move_resize_internal() which lets the compositor plugin know the old window size and freezes the MetaWindowActor. Then we get rid of the META_MOVE_RESIZE_DONT_SYNC_COMPOSITOR flag since it's not needed anymore as the window actor is frozen and that means we can use meta_compositor_sync_window_geometry() as the point where we inform the compositor plugin of the final window size. https://bugzilla.gnome.org/show_bug.cgi?id=770345 |
||
---|---|---|
clutter | ||
cogl | ||
data | ||
doc | ||
po | ||
src | ||
tools | ||
.gitignore | ||
autogen.sh | ||
configure.ac | ||
COPYING | ||
Makefile.am | ||
mutter.doap | ||
NEWS |