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 602c1aa0db
commit 962f31f793
No known key found for this signature in database
GPG key ID: 04BE5A29F32D91EA
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 {