Jasper St. Pierre
ce5c029509
window-wayland: Make sure to save where the position for server-initiated resizes
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%