wayvnc
wayvnc copied to clipboard
Wrong render node comparison
https://wayland.app/protocols/ext-image-copy-capture-v1#ext_image_copy_capture_session_v1:event:dmabuf_device
In general the device is a DRM node. The DRM node type (primary vs. render) is unspecified. Clients must not rely on the compositor sending a particular node type. Clients cannot check two devices for equality by comparing the dev_t value.
The dev_t for the actual render node must be used instead and/or this: https://gitlab.freedesktop.org/mesa/drm/-/blob/main/xf86drm.h#L934