mirror of
https://github.com/brl/mutter.git
synced 2025-03-24 20:23:56 +00:00

For the server-initiated resize case, like unmaximize or some forms of tiling, we dropped the x/y of the server-assigned rectangle on the floor, which meant the surface didn't move to where it needed to be in that case. Now, save it internally, and combine it with the dx/dy passed in during attaches to figure out where we actually need to be. Make sure to only use it for when we send out a configure notify. We should use the passed in rectangle for other scenarios, like a client-initiated resize. This fixes incorrect surface placement after unmaximization.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%