-
Olivier Fourdan authored
clientScreenResize() ensures that tiled, fullscreen and maximized wintod remain correctly sized when the overall screen size is changed, but also tries to save and restore window positions in case of relayouts. Since commit 182bd22c „Update maximized on struts change“ however, we all clientScreenResize() from workspaceUpdateArea() unconditionally while workspaceUpdateArea() can be called every time a window is moved. That causes a regression when moving undecorated windows, typically those meant to remain fully visible on screen when screen size changes, and every other move would save and restore the previous position, causing spurious and unexpected window movements. To solve the problem, add a new parameter to clientScreenResize() to specify if the all is originating from a relayout. Signed-off-by: Olivier Fourdan <fourdan@xfce.org> Fixes: 182bd22c - Update maximized on struts change Closes: #677
ca9c1aa8