Commit e6aa32ac authored by Benjamin Franzke's avatar Benjamin Franzke 😀
Browse files

wayland: Use new wl_display_disconnect

This replaces the previously used wl_display_destroy.
wl_display_destroy was povided by wayland-client.so and
wayland-server.so, to resolve that conflict its renamed client-side.
parent da5e9fce
......@@ -731,7 +731,7 @@ dri2_terminate(_EGLDriver *drv, _EGLDisplay *disp)
free(dri2_dpy->device_name);
wl_drm_destroy(dri2_dpy->wl_drm);
if (dri2_dpy->own_device)
wl_display_destroy(dri2_dpy->wl_dpy);
wl_display_disconnect(dri2_dpy->wl_dpy);
free(dri2_dpy);
disp->DriverData = NULL;
......
......@@ -80,7 +80,7 @@ wayland_drm_display_destroy(struct native_display *ndpy)
if (drmdpy->base.configs)
FREE(drmdpy->base.configs);
if (drmdpy->base.own_dpy)
wl_display_destroy(drmdpy->base.dpy);
wl_display_disconnect(drmdpy->base.dpy);
ndpy_uninit(ndpy);
......
......@@ -66,7 +66,7 @@ wayland_shm_display_destroy(struct native_display *ndpy)
if (shmdpy->base.configs)
FREE(shmdpy->base.configs);
if (shmdpy->base.own_dpy)
wl_display_destroy(shmdpy->base.dpy);
wl_display_disconnect(shmdpy->base.dpy);
ndpy_uninit(ndpy);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment