mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 01:58:25 +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.needsResize = true;
|
||||||
wlWm.resizeSerial = configuration->serial;
|
wlWm.resizeSerial = configuration->serial;
|
||||||
|
app_invalidateWindow();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
wlWm.configured = true;
|
wlWm.configured = true;
|
||||||
|
@ -46,6 +46,7 @@ static void xdgSurfaceConfigure(void * data, struct xdg_surface * xdgSurface,
|
|||||||
{
|
{
|
||||||
wlWm.needsResize = true;
|
wlWm.needsResize = true;
|
||||||
wlWm.resizeSerial = serial;
|
wlWm.resizeSerial = serial;
|
||||||
|
app_invalidateWindow();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user