mirror of
https://github.com/brl/mutter.git
synced 2025-02-27 02:04:09 +00:00

After 20176d03, the Wayland backend only synchronizes with the compositor after a geometry was set, and it was different from the current geometry. That commit was mistakenly comparing the geometry before chaining up, which would yield a false negative on the case where the client didn't call set_geometry() before commit(). Fix that by caching the old geometry locally, chain up (and thus apply the new geometry rectangle), then comparing the old and current geometry rectangles. Fixes https://gitlab.gnome.org/GNOME/mutter/issues/150 (cherry picked from commit cf734999fb9e342811896f70f7c1f415462728a7)
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%