wayland-rs icon indicating copy to clipboard operation
wayland-rs copied to clipboard

Missing event_created_child specialization for event opcode 0 of zwlr_output_manager_v1

Open mattfbacon opened this issue 2 years ago • 3 comments

I got this error when trying to use the ZWLR output manager v1 from wayland-protocols-wlr.

mattfbacon avatar Oct 05 '23 23:10 mattfbacon

Do you implement the Dispatch trait? You could also need a manual impl of the said macro (event_created_child), but I don't remember the exact case when you need it.

It looks like https://github.com/Smithay/client-toolkit/blob/d851b6640d59d3a2021f43fbfa41188e592ac89d/src/primary_selection/device.rs#L65 if it matters, usually, where you put your user data into.

kchibisov avatar Oct 06 '23 00:10 kchibisov

OK, maybe the panic message should say that 😅

mattfbacon avatar Oct 06 '23 01:10 mattfbacon

it sort of says so, I think? Since it says that you don't have required event_created_child for 0.

kchibisov avatar Oct 06 '23 02:10 kchibisov