aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/x11.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-11-03 15:06:28 +0100
committerDavid Robillard <d@drobilla.net>2019-11-03 21:03:18 +0100
commitd53ce364a7c7c0d9b0d1fa87077df2dff69688e9 (patch)
tree79df347a766952a7888765d26a9bc867c38d7c84 /pugl/detail/x11.c
parentb848d137909fa71e5ede2d46fa2fcb5f1509ecba (diff)
downloadpugl-d53ce364a7c7c0d9b0d1fa87077df2dff69688e9.tar.gz
pugl-d53ce364a7c7c0d9b0d1fa87077df2dff69688e9.tar.bz2
pugl-d53ce364a7c7c0d9b0d1fa87077df2dff69688e9.zip
Add puglGetNativeWorld()
Diffstat (limited to 'pugl/detail/x11.c')
-rw-r--r--pugl/detail/x11.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/pugl/detail/x11.c b/pugl/detail/x11.c
index fd47db3..e576b49 100644
--- a/pugl/detail/x11.c
+++ b/pugl/detail/x11.c
@@ -101,6 +101,12 @@ puglInitWorldInternals(void)
return impl;
}
+void*
+puglGetNativeWorld(PuglWorld* world)
+{
+ return world->impl->display;
+}
+
PuglInternals*
puglInitViewInternals(void)
{