commit 6586736
Michael Forney
·
2021-06-30 03:57:26 +0000 UTC
parent ea4eccb
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.
1 files changed,
+0,
-5
+0,
-5
1@@ -261,17 +261,12 @@ void
2 drm_device(void *data, struct wl_drm *wl, const char *name)
3 {
4 struct drm_context *context = data;
5- drm_magic_t magic;
6
7 context->fd = open(name, O_RDWR);
8-
9 if (context->fd == -1) {
10 DEBUG("Couldn't open DRM device '%s'\n", name);
11 return;
12 }
13-
14- drmGetMagic(context->fd, &magic);
15- wl_drm_authenticate(wl, magic);
16 }
17
18 void