diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-11-22 14:58:36 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-11-22 14:58:36 -0500 |
commit | e3542d879d50d6239ad4ca24b4d30520fef40a87 (patch) | |
tree | 477135919f311433b44feed140f7a9baa23ac096 /xwayland/xwm.c | |
parent | fc17c74516c7c843f15426bca754a16f963ad348 (diff) |
xwm: only take clipboard if window is focused
Diffstat (limited to 'xwayland/xwm.c')
-rw-r--r-- | xwayland/xwm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c index 407ee362..b0a24ff2 100644 --- a/xwayland/xwm.c +++ b/xwayland/xwm.c @@ -174,6 +174,7 @@ void xwm_surface_activate(struct wlr_xwm *xwm, xwm_send_focus_window(xwm, xsurface); xwm->focus_surface = xsurface; + xwm_set_selection_owner(xwm); xcb_flush(xwm->xcb_conn); } |