mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-21 06:59:44 -05:00
Send empty selection when clipboard is empty
This commit is contained in:
parent
5584f42c1e
commit
76dcb694c1
1 changed files with 1 additions and 0 deletions
|
|
@ -258,6 +258,7 @@ static void xwm_handle_selection_request(struct wlr_xwm *xwm,
|
||||||
if (xwm->seat->selection_source == NULL) {
|
if (xwm->seat->selection_source == NULL) {
|
||||||
wlr_log(L_DEBUG, "not handling selection request: "
|
wlr_log(L_DEBUG, "not handling selection request: "
|
||||||
"no selection source assigned to xwayland seat");
|
"no selection source assigned to xwayland seat");
|
||||||
|
xwm_send_selection_notify(xwm, XCB_ATOM_NONE);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue