projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Provide DoEvents function in front-ends
[xboard.git]
/
gtk
/
xboard.c
diff --git
a/gtk/xboard.c
b/gtk/xboard.c
index
d6f47d7
..
de8c897
100644
(file)
--- a/
gtk/xboard.c
+++ b/
gtk/xboard.c
@@
-1191,6
+1191,12
@@
gtk_main_iteration();
return 0;
}
+void
+DoEvents ()
+{
+ while(gtk_events_pending()) gtk_main_iteration();
+}
+
RETSIGTYPE
TermSizeSigHandler (int sig)
{