Commit d21b6f0a authored by Andy Ritger's avatar Andy Ritger Committed by Peter Hutterer

randr: Don't recurse into mieqProcessInputEvents() from RRTellChanged().

Call UpdateCurrentTimeIf(), not UpdateCurrentTime(), from RRTellChanged().
The latter calls ProcessInputEvents(), which can trigger a recursion
into mieqProcessInputEvents().  The former omits the call to
ProcessInputEvents().
Signed-off-by: default avatarAndy Ritger <aritger@nvidia.com>
Reviewed-by: Jeremy Huddleston Sequoia's avatarJeremy Huddleston <jeremyhu@apple.com>
Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
(cherry picked from commit dae317e7)
parent a6de3eac
......@@ -416,7 +416,7 @@ RRTellChanged(ScreenPtr pScreen)
int i;
if (pScrPriv->changed) {
UpdateCurrentTime();
UpdateCurrentTimeIf();
if (pScrPriv->configChanged) {
pScrPriv->lastConfigTime = currentTime;
pScrPriv->configChanged = FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment