diff options
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index 66994e79..8df92706 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -781,6 +781,7 @@ void init_Window(iWindow *d, iRect rect) { | |||
781 | } | 781 | } |
782 | #endif | 782 | #endif |
783 | d->root = new_Widget(); | 783 | d->root = new_Widget(); |
784 | setFlags_Widget(d->root, focusRoot_WidgetFlag, iTrue); | ||
784 | d->presentTime = 0.0; | 785 | d->presentTime = 0.0; |
785 | d->frameTime = SDL_GetTicks(); | 786 | d->frameTime = SDL_GetTicks(); |
786 | d->loadAnimTimer = 0; | 787 | d->loadAnimTimer = 0; |