diff options
Diffstat (limited to 'pugl/detail/x11.c')
-rw-r--r-- | pugl/detail/x11.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pugl/detail/x11.c b/pugl/detail/x11.c index 3531b12..729c8a1 100644 --- a/pugl/detail/x11.c +++ b/pugl/detail/x11.c @@ -586,6 +586,7 @@ puglRequestAttention(PuglView* view) return PUGL_SUCCESS; } +#ifndef PUGL_DISABLE_DEPRECATED PuglStatus puglWaitForEvent(PuglView* view) { @@ -593,6 +594,7 @@ puglWaitForEvent(PuglView* view) XPeekEvent(view->impl->display, &xevent); return PUGL_SUCCESS; } +#endif static void mergeExposeEvents(PuglEvent* dst, const PuglEvent* src) @@ -760,11 +762,13 @@ puglDispatchEvents(PuglWorld* world) return PUGL_SUCCESS; } +#ifndef PUGL_DISABLE_DEPRECATED PuglStatus puglProcessEvents(PuglView* view) { return puglDispatchEvents(view->world); } +#endif double puglGetTime(const PuglWorld* world) |