From 76dcb694c142ca7ef288916076b446ae6f7baafa Mon Sep 17 00:00:00 2001 From: emersion Date: Fri, 15 Dec 2017 09:37:04 +0100 Subject: Send empty selection when clipboard is empty --- xwayland/selection.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xwayland') 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; } -- cgit v1.2.3