mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
tablet-v2: fix segfault on display destroy
This commit is contained in:
parent
3181c4bec0
commit
89ec624f81
2 changed files with 28 additions and 21 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue