Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Protocol error with clients binding a wl_data_device multiple times #1379

Closed
elinorbgr opened this issue Nov 21, 2018 · 2 comments
Closed

Protocol error with clients binding a wl_data_device multiple times #1379

elinorbgr opened this issue Nov 21, 2018 · 2 comments

Comments

@elinorbgr
Copy link

If a client binds a wl_data_device associated with a given seat more than one time, when a data source enters it, the client dies with the following protocol error from libwayland-client:

not a valid new object id (4278190080), message data_offer(n)

The clients do not crash when doing the same manipulation on weston.

I suspect wlroots is sending wl_data_device.data_offer to all the wl_data_devices using the same wl_data_offer object, while the data_offer message has a new_id argument, so the same data offer cannot be reused this way.

@emersion
Copy link
Member

Duplicate of #1041

@emersion emersion marked this as a duplicate of #1041 Nov 21, 2018
@elinorbgr
Copy link
Author

Ah well, I guess I didn't search well enough.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants