aboutsummaryrefslogtreecommitdiff
path: root/xwayland/selection.c
diff options
context:
space:
mode:
Diffstat (limited to 'xwayland/selection.c')
-rw-r--r--xwayland/selection.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xwayland/selection.c b/xwayland/selection.c
index 79819565..65599145 100644
--- a/xwayland/selection.c
+++ b/xwayland/selection.c
@@ -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);
}
}