backend/wayland: only set one pointer listener

This commit is contained in:
emersion 2018-04-29 13:37:29 +01:00
parent 9e7a997433
commit ddac792b61
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 55 additions and 17 deletions

View file

@ -32,6 +32,7 @@ struct wlr_wl_backend {
struct wl_shm *shm;
struct wl_seat *seat;
struct wl_pointer *pointer;
struct wlr_wl_pointer *current_pointer;
char *seat_name;
};