Skip to content
Snippets Groups Projects
Commit b9f415cb authored by Adam Jackson's avatar Adam Jackson :headphones:
Browse files

present: Fix swapping of PresentCompleteNotify events


The code would fall through to the PresentIdleNotify case, and nothing
good would come of it.

Signed-off-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
Reviewed-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
parent cc66777d
No related branches found
No related tags found
No related merge requests found
......@@ -91,6 +91,7 @@ present_event_swap(xGenericEvent *from, xGenericEvent *to)
swapl(&c->serial);
swapll(&c->ust);
swapll(&c->msc);
break;
}
case PresentIdleNotify:
{
......@@ -99,6 +100,7 @@ present_event_swap(xGenericEvent *from, xGenericEvent *to)
swapl(&c->window);
swapl(&c->serial);
swapl(&c->idle_fence);
break;
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment