From 5dc5a5737d6708fd352367f1dbe2a198e841604a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 17 Feb 2020 18:38:35 +0100 Subject: Fix recursive context entry --- pugl/detail/x11.c | 2 -- 1 file changed, 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; -- cgit v1.2.1