pywayland icon indicating copy to clipboard operation
pywayland copied to clipboard

Example doesn’t work

Open sloonz opened this issue 2 years ago • 5 comments

The example doesn’t work (RuntimeError: no shell found) because wl_shell has been deprecated and is not exposed anymore in my compositor (Sway). xdg_wm_base must be used instead.

sloonz avatar Sep 01 '23 08:09 sloonz

Have same problem with wlroots-based compositors

pg83 avatar Nov 06 '23 13:11 pg83

There's an extended C example for xdg_wm_base in the wayland book. I'm trying to transliterate the example, but in case I don't get there: https://wayland-book.com/libwayland/interfaces.html

emdash avatar Dec 21 '23 20:12 emdash

It's not clear to me how to call xdg_surface_add_listener. Ideas?

franzos avatar Jan 04 '24 22:01 franzos

I am not sure. I tried using dispatcher[] slot on the object, but I just get segfaults.

emdash avatar Jan 04 '24 22:01 emdash