mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-09 19:14:30 +03:00
GTK: Drain GTK events before schedule_run()
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
parent
6321243bbd
commit
486aff5efc
@ -500,6 +500,9 @@ static void nsgtk_main(void)
|
||||
FD_ZERO(&write_fd_set);
|
||||
FD_ZERO(&exc_fd_set);
|
||||
|
||||
while (gtk_events_pending())
|
||||
gtk_main_iteration_do(TRUE);
|
||||
|
||||
schedule_run();
|
||||
|
||||
fetch_fdset(&read_fd_set, &write_fd_set, &exc_fd_set, &max_fd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user