[client] wayland: invalidate window on configure

This avoids sending potentially meaningless damage values after a surface
configuration event.
This commit is contained in:
Quantum authored and Geoffrey McRae committed 2021-07-25 15:36:44 +10:00
1 parent 3905834807
commit e7761abf3c
2 files changed
+2

No files matched your search

@@ -69,6 +69,7 @@ static void libdecorFrameConfigure(struct libdecor_frame * frame,
{
wlWm.needsResize = true;
wlWm.resizeSerial = configuration->serial;
app_invalidateWindow();
}
else
wlWm.configured = true;
@@ -46,6 +46,7 @@ static void xdgSurfaceConfigure(void * data, struct xdg_surface * xdgSurface,
{
wlWm.needsResize = true;
wlWm.resizeSerial = serial;
app_invalidateWindow();
}
else
{