Request keyboard focus before entering event loop.

This commit is contained in:
Brandon Wright 2010-10-18 05:08:31 -05:00
parent e61dd2aba0
commit 5869118074
1 changed files with 2 additions and 0 deletions

View File

@ -123,6 +123,8 @@ main (int argc, char *argv[])
gui_config->flush_joysticks ();
#endif
gtk_window_present (top_level->get_window ());
gdk_threads_lock ();
gtk_main ();