seat: listen on wlr_seat.events.request_set_selection and wlr_seat.events.request_set_primary_selection

This is now required with wlroots 0.3, see https://github.com/swaywm/wlroots/releases/tag/0.3
and https://github.com/swaywm/wlroots/pull/1402

Fixes #42.
This commit is contained in:
Jente Hidskes 2019-02-16 01:23:09 +01:00
parent 202f74f21a
commit 76e8be14d9
2 changed files with 27 additions and 0 deletions

2
seat.h
View file

@ -43,6 +43,8 @@ struct cg_seat {
struct wl_listener new_drag_icon;
struct wl_listener request_set_cursor;
struct wl_listener request_set_selection;
struct wl_listener request_set_primary_selection;
};
struct cg_keyboard {