mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
data-device: reset focused surface when destroyed
The surface may be destroyed before the struct wlr_seat_client. Spotted by Consolatis.
This commit is contained in:
parent
a7ebe7c026
commit
71943b3b1e
2 changed files with 18 additions and 1 deletions
|
|
@ -135,6 +135,7 @@ struct wlr_drag {
|
|||
struct {
|
||||
struct wl_listener source_destroy;
|
||||
struct wl_listener seat_client_destroy;
|
||||
struct wl_listener focus_destroy;
|
||||
struct wl_listener icon_destroy;
|
||||
} WLR_PRIVATE;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue