tablet-v2: fix segfault on display destroy

This commit is contained in:
emersion 2018-11-12 20:05:13 +01:00
parent 3181c4bec0
commit 89ec624f81
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 28 additions and 21 deletions

View file

@ -6,7 +6,7 @@
#include <wlr/types/wlr_tablet_v2.h>
struct wlr_tablet_seat_v2 {
struct wl_list link;
struct wl_list link; // wlr_tablet_manager_v2::seats
struct wlr_seat *wlr_seat;
struct wlr_tablet_manager_v2 *manager;
@ -14,7 +14,7 @@ struct wlr_tablet_seat_v2 {
struct wl_list tools;
struct wl_list pads;
struct wl_list clients; //wlr_tablet_seat_v2_client::link;
struct wl_list clients; // wlr_tablet_seat_v2_client::link
struct wl_listener seat_destroy;
};