aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pugl/pugl_win.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pugl/pugl_win.c b/pugl/pugl_win.c
index a75a259..9f44144 100644
--- a/pugl/pugl_win.c
+++ b/pugl/pugl_win.c
@@ -353,6 +353,7 @@ puglShowWindow(PuglView* view)
PuglInternals* impl = view->impl;
ShowWindow(impl->hwnd, SW_SHOWNORMAL);
+ SetFocus(impl->hwnd);
view->visible = true;
}