Move rendering of resize banner into the tick callback

Unifies all rendering in one place. And possibly fixes issues with
rendering in a resize callback on sway.
This commit is contained in:
Kovid Goyal
2019-03-21 16:54:15 +05:30
parent fcb26e5dc7
commit 65c75859bc
3 changed files with 23 additions and 19 deletions

View File

@@ -112,6 +112,7 @@ typedef struct {
bool in_progress;
bool from_os_notification;
bool os_says_resize_complete;
unsigned int width, height;
} LiveResizeInfo;