[client] app: allow selective full invalidation

Overlays only need to trigger a new frame if they have changed and not
full window invalidation, this change allows for this.
This commit is contained in:
Geoffrey McRae
2021-08-05 06:47:36 +10:00
parent 6c84c0eca6
commit 6e7f39edee
8 changed files with 13 additions and 12 deletions

View File

@@ -123,7 +123,7 @@ void waylandEGLSwapBuffers(EGLDisplay display, EGLSurface surface, const struct
app_handleResizeEvent(wlWm.width, wlWm.height, wl_fixed_to_double(wlWm.scale),
(struct Border) {0, 0, 0, 0});
app_invalidateWindow();
app_invalidateWindow(true);
waylandStopWaitFrame();
wlWm.needsResize = false;
}