mirror of
https://github.com/brl/mutter.git
synced 2025-02-19 14:44:10 +00:00

For Xwayland clients, resizing is an asynchronous operation. First, the window manager part of mutter resizes the frame and client window, then Xwayland waits for damage from the client, and commits a new surface to the display server part of mutter. In order to prevent flicker, we need to know when an initiated resize operation has fully come out the other end of that multi-step process as a new surface. This commit lays the plumbing work for preventing the aforementioned flicker problem, by adding a new resize_pending flag (and associated accessors), and setting the flag appropriately based on when a resize is started and subsequently when a new surface is attached.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%