aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/detail')
-rw-r--r--pugl/detail/x11.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pugl/detail/x11.c b/pugl/detail/x11.c
index 2b1090e..c1189a5 100644
--- a/pugl/detail/x11.c
+++ b/pugl/detail/x11.c
@@ -633,9 +633,7 @@ addPendingExpose(PuglView* view, const PuglEvent* expose)
if (view->impl->pendingExpose.type) {
// Pending non-intersecting expose, dispatch it now
// This isn't ideal, but avoids needing to maintain an expose list
- puglEnterContext(view, true);
puglDispatchEvent(view, &view->impl->pendingExpose);
- puglLeaveContext(view, true);
}
view->impl->pendingExpose = *expose;