diff options
author | emersion <contact@emersion.fr> | 2017-12-15 09:37:04 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-12-15 09:37:04 +0100 |
commit | 76dcb694c142ca7ef288916076b446ae6f7baafa (patch) | |
tree | 94e261da577dd172e4d488065afa99b68daa28c3 /xwayland | |
parent | 5584f42c1ef1bbc4bf9f8184ddeeb7ac2d308aed (diff) |
Send empty selection when clipboard is empty
Diffstat (limited to 'xwayland')
-rw-r--r-- | xwayland/selection.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xwayland/selection.c b/xwayland/selection.c index 6b55f473..062fbf9c 100644 --- a/xwayland/selection.c +++ b/xwayland/selection.c @@ -258,6 +258,7 @@ static void xwm_handle_selection_request(struct wlr_xwm *xwm, if (xwm->seat->selection_source == NULL) { wlr_log(L_DEBUG, "not handling selection request: " "no selection source assigned to xwayland seat"); + xwm_send_selection_notify(xwm, XCB_ATOM_NONE); return; } |