aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11_cairo.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-20 19:43:34 -0400
committerDavid Robillard <d@drobilla.net>2022-05-21 16:49:47 -0400
commit0fc1422e858bf9849b84aee2abeca3b553214b73 (patch)
treeba6fca0afcdee06b9283d408b71a11dab0a5e6fd /src/x11_cairo.c
parent692dbf482859e91f0dbadaa97152ab779f9a4648 (diff)
downloadpugl-0fc1422e858bf9849b84aee2abeca3b553214b73.tar.gz
pugl-0fc1422e858bf9849b84aee2abeca3b553214b73.tar.bz2
pugl-0fc1422e858bf9849b84aee2abeca3b553214b73.zip
X11: Remove redundant display member
Diffstat (limited to 'src/x11_cairo.c')
-rw-r--r--src/x11_cairo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x11_cairo.c b/src/x11_cairo.c
index 6aafb50..74de735 100644
--- a/src/x11_cairo.c
+++ b/src/x11_cairo.c
@@ -36,7 +36,7 @@ puglX11CairoOpen(PuglView* view)
PuglInternals* const impl = view->impl;
PuglX11CairoSurface* const surface = (PuglX11CairoSurface*)impl->surface;
- surface->back = cairo_xlib_surface_create(impl->display,
+ surface->back = cairo_xlib_surface_create(view->world->impl->display,
impl->win,
impl->vi->visual,
(int)view->frame.width,