[client] all: make it possible to signal full window invalidation

Now that we are drawing with damage rects, when the window is hidden and
then exposed the window may not get fully redrawn. This provides
`app_invalidateWindow` for the display server backend to call when the
screen needs a full redraw.
This commit is contained in:
Geoffrey McRae
2021-07-25 15:29:29 +10:00
parent 8c2a77e84e
commit 60a58d4d8d
7 changed files with 30 additions and 15 deletions

View File

@@ -46,6 +46,7 @@ bool app_isFormatValid(void);
void app_updateCursorPos(double x, double y);
void app_updateWindowPos(int x, int y);
void app_handleResizeEvent(int w, int h, double scale, const struct Border border);
void app_invalidateWindow(void);
void app_handleMouseRelative(double normx, double normy,
double rawx, double rawy);