projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
614b5ab
)
Fix periodic updates GTK
author
H.G.Muller
<hgm@hgm-xboard.(none)>
Sat, 19 Sep 2015 17:35:07 +0000 (19:35 +0200)
committer
H.G.Muller
<hgm@hgm-xboard.(none)>
Sat, 19 Sep 2015 17:35:07 +0000 (19:35 +0200)
Only the first periodic update event would occur, because the clock function
did not retun True to encourage timer events to keep coming.
gtk/xtimer.c
patch
|
blob
|
history
diff --git
a/gtk/xtimer.c
b/gtk/xtimer.c
index
f891a0e
..
8600e66
100644
(file)
--- a/
gtk/xtimer.c
+++ b/
gtk/xtimer.c
@@
-183,13
+183,14
@@
StartLoadGameTimer (long millisec)
guint analysisClockTag = 0;
-void
+int
AnalysisClockCallback(gpointer data)
{
if (gameMode == AnalyzeMode || gameMode == AnalyzeFile
|| appData.icsEngineAnalyze) { // [DM]
AnalysisPeriodicEvent(0);
}
+ return 1;
}
void