summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-04-03 21:05:45 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-04-03 21:05:45 +0300
commitf7e087c453aecbe102b026c067c8a083f82a0318 (patch)
tree78f6403f442013e2cf3458c52d067a3bd6a9ec7a
parent3da9a80b4a2d1f589bcc8d8218fa49bc3a21bcd5 (diff)
Window: Defer events posted during startup
-rw-r--r--src/ui/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 27740326..94b84935 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -1473,7 +1473,7 @@ void init_Window(iWindow *d, iRect rect) {
1473 setId_Widget(d->root, "root"); 1473 setId_Widget(d->root, "root");
1474 init_Text(d->render); 1474 init_Text(d->render);
1475 setupUserInterface_Window(d); 1475 setupUserInterface_Window(d);
1476 postCommand_App("bindings.changed"); /* update from bindings */ 1476 postCommand_App("~bindings.changed"); /* update from bindings */
1477 updateRootSize_Window_(d, iFalse); 1477 updateRootSize_Window_(d, iFalse);
1478 /* Load the border shadow texture. */ { 1478 /* Load the border shadow texture. */ {
1479 SDL_Surface *surf = loadImage_(&imageShadow_Embedded, 0); 1479 SDL_Surface *surf = loadImage_(&imageShadow_Embedded, 0);