mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
data-device: reset focused surface when destroyed
The surface may be destroyed before the struct wlr_seat_client.
Spotted by Consolatis.
(cherry picked from commit 71943b3b1e)
This commit is contained in:
parent
1fc9409df2
commit
35ab453360
2 changed files with 18 additions and 1 deletions
|
|
@ -126,6 +126,7 @@ struct wlr_drag {
|
|||
|
||||
struct wl_listener source_destroy;
|
||||
struct wl_listener seat_client_destroy;
|
||||
struct wl_listener focus_destroy;
|
||||
struct wl_listener icon_destroy;
|
||||
|
||||
void *data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue