mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
[client] wayland: invalidate window on configure
This avoids sending potentially meaningless damage values after a surface configuration event.
This commit is contained in:
parent
3905834807
commit
e7761abf3c
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user