mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-29 16:05:59 +01:00
xwm_selection_finish: set NULL seat for xwayland
While they could eventually be split appart, the current approach could lead to double wl_list_remove() calls on selections which is incorrect
This commit is contained in:
parent
d7cefccaee
commit
41649a1f9a
1 changed files with 1 additions and 2 deletions
|
@ -844,8 +844,7 @@ void xwm_selection_finish(struct wlr_xwm *xwm) {
|
|||
wlr_seat_set_primary_selection(xwm->seat, NULL,
|
||||
wl_display_next_serial(xwm->xwayland->wl_display));
|
||||
}
|
||||
wl_list_remove(&xwm->seat_selection.link);
|
||||
wl_list_remove(&xwm->seat_primary_selection.link);
|
||||
wlr_xwayland_set_seat(xwm->xwayland, NULL);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue