mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 21:17:54 +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
2 changed files with 2 additions and 0 deletions
|
@ -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 a new issue