wayvnc icon indicating copy to clipboard operation
wayvnc copied to clipboard

Wrong render node comparison

Open any1 opened this issue 11 months ago • 0 comments

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

any1 avatar Jan 13 '25 12:01 any1