neuwld

patched neuwld library (tracked)
git clone https://git.daat.foo/neuwld.git
Log | Files | Refs | README | LICENSE

commit 6586736176ef50a88025abae835e29a7ca980126
parent ea4eccb64cfcfc508b029a530fc434d6e6695af5
Author: Michael Forney <mforney@mforney.org>
Date:   Tue, 29 Jun 2021 20:57:26 -0700

wayland-drm: Remove obsolete drmGetMagic/wl_drm_authenticate

We don't use wl_drm.create_buffer since b1a964a62d, so these are
unnecessary and may result in a protocol error with newer display
servers.

Diffstat:
Mwayland-drm.c | 5-----
1 file changed, 0 insertions(+), 5 deletions(-)

diff --git a/wayland-drm.c b/wayland-drm.c @@ -261,17 +261,12 @@ void drm_device(void *data, struct wl_drm *wl, const char *name) { struct drm_context *context = data; - drm_magic_t magic; context->fd = open(name, O_RDWR); - if (context->fd == -1) { DEBUG("Couldn't open DRM device '%s'\n", name); return; } - - drmGetMagic(context->fd, &magic); - wl_drm_authenticate(wl, magic); } void