Commit dae317e7 authored by Andy Ritger's avatar Andy Ritger Committed by Keith Packard

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>
parent 8dc70acb
......@@ -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