diff options
author | emersion <contact@emersion.fr> | 2019-01-22 20:13:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-22 20:13:01 +0100 |
commit | 365a75139c382b3627ee96eade827038b1a2bc1a (patch) | |
tree | 655ec06e18dd09a72322b5bb650230154e4708cf /xwayland/selection/selection.c | |
parent | 62658a318dedb3e0803092baa4685a80687249d0 (diff) | |
parent | 06467d2e1233d8c2830500ca399bcce8dd37a91b (diff) |
Merge pull request #1485 from emersion/data-device-serial
primary-selection: add a serial argument
Diffstat (limited to 'xwayland/selection/selection.c')
-rw-r--r-- | xwayland/selection/selection.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xwayland/selection/selection.c b/xwayland/selection/selection.c index 4d7732cb..dee7f9c3 100644 --- a/xwayland/selection/selection.c +++ b/xwayland/selection/selection.c @@ -231,7 +231,8 @@ void xwm_selection_finish(struct wlr_xwm *xwm) { if (xwm->seat->primary_selection_source && primary_selection_source_is_xwayland( xwm->seat->primary_selection_source)) { - wlr_seat_set_primary_selection(xwm->seat, NULL); + wlr_seat_set_primary_selection(xwm->seat, NULL, + wl_display_next_serial(xwm->xwayland->wl_display)); } wlr_xwayland_set_seat(xwm->xwayland, NULL); } |