Merge pull request #1375 from emersion/tablet-segfault

tablet-v2: fix segfault on display destroy
This commit is contained in:
Drew DeVault 2018-11-25 17:30:31 -05:00 committed by GitHub
commit 90f1a34d2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;
};