Both ServertimeBracketValues and IdleTimeBracketValues copy the value into there SysCounter privates. Call it for a NULL set as well, so we don't end up with stale pointers and we can remove the block/wakeup handlers.
Signed-off-by: Peter Hutterer <[email protected]> --- Xext/sync.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Xext/sync.c b/Xext/sync.c index f93ac18..eaf0637 100644 --- a/Xext/sync.c +++ b/Xext/sync.c @@ -1058,9 +1058,8 @@ SyncComputeBracketValues(SyncCounter * pCounter) } } /* end for each trigger */ - if (pnewgtval || pnewltval) { - (*psci->BracketValues) ((pointer) pCounter, pnewltval, pnewgtval); - } + (*psci->BracketValues) ((pointer) pCounter, pnewltval, pnewgtval); + } /* -- 1.8.3.1 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
