Merge pull request #1309 from swaywm/fix-headless-libinput

Fix headless backend
master
emersion 6 years ago committed by GitHub
commit 7daca85bcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -121,7 +121,7 @@ bool wlr_egl_init(struct wlr_egl *egl, EGLenum platform, void *remote_display,
if (platform == EGL_PLATFORM_SURFACELESS_MESA) { if (platform == EGL_PLATFORM_SURFACELESS_MESA) {
assert(remote_display == NULL); assert(remote_display == NULL);
egl->display = eglGetDisplay(EGL_DEFAULT_DISPLAY); egl->display = eglGetPlatformDisplayEXT(platform, EGL_DEFAULT_DISPLAY, NULL);
} else { } else {
egl->display = eglGetPlatformDisplayEXT(platform, remote_display, NULL); egl->display = eglGetPlatformDisplayEXT(platform, remote_display, NULL);
} }

Loading…
Cancel
Save