summaryrefslogtreecommitdiff
path: root/present
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2018-05-07 17:21:18 -0400
committerAdam Jackson <ajax@redhat.com>2018-05-08 12:15:29 -0400
commitb9f415cbad47412bfb218cf7375d0c2856a27d1b (patch)
tree7f86ef6056000160327223a0cf96f4879c730e47 /present
parentcc66777d85f3509b0f9dfc9210d0a0415a2a388d (diff)
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 <ajax@redhat.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'present')
-rw-r--r--present/present_event.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/present/present_event.c b/present/present_event.c
index c222dd5ff..9aebfdfce 100644
--- a/present/present_event.c
+++ b/present/present_event.c
@@ -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;
}
}
}