-
Martin Flöser authored
The damage event of the Surface does not consider the offset through the server side decoration. Due to that we need to have a different repaint and damage area. As Toplevel::addDamage(QRegion) is only used in the Wayland case the repaint adjustment is removed from the generic implementation and moved into the specific implementations. While it wouldn't hurt to have the repaint adjustment in Toplevel, it would trigger a repaint of an unchanged area. For Client I'm not sure whether it's correct without considering the clientPos. My testing shows it's working, but that might also just be do to Xwayland using OpenGL buffers. Needs further testing.
34951b3b