aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-02-17 18:38:35 +0100
committerDavid Robillard <d@drobilla.net>2020-02-18 09:52:25 +0100
commit5dc5a5737d6708fd352367f1dbe2a198e841604a (patch)
tree260885d0d45cd840eb24ee80973cc8554ff52c4b
parent13b66a560dd14e7fd0e7e11ac8c2c4ed3cb2a699 (diff)
Fix recursive context entry
-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;