diff options
-rw-r--r-- | compositor/xserver-launcher.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compositor/xserver-launcher.c b/compositor/xserver-launcher.c index 35e52944..6cc86ed6 100644 --- a/compositor/xserver-launcher.c +++ b/compositor/xserver-launcher.c @@ -505,6 +505,11 @@ wlsc_xserver_set_selection(struct wlsc_input_device *device) wm->selection_window, wm->atom.clipboard, XCB_TIME_CURRENT_TIME); + } else { + xcb_set_selection_owner(wm->conn, + XCB_ATOM_NONE, + wm->atom.clipboard, + XCB_TIME_CURRENT_TIME); } } |