The entry box no longer gets focus at launch, this allows the user to see the prompt without manually changing focus
This commit is contained in:
parent
0cee332f2e
commit
f1fb568d5c
@ -467,7 +467,7 @@ void wofi_init(struct map* config) {
|
|||||||
|
|
||||||
pthread_t thread;
|
pthread_t thread;
|
||||||
pthread_create(&thread, NULL, start_thread, mode);
|
pthread_create(&thread, NULL, start_thread, mode);
|
||||||
gtk_widget_grab_focus(entry);
|
gtk_widget_grab_focus(scroll);
|
||||||
gtk_window_set_title(GTK_WINDOW(window), prompt);
|
gtk_window_set_title(GTK_WINDOW(window), prompt);
|
||||||
gtk_widget_show_all(window);
|
gtk_widget_show_all(window);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user