mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-31 11:08:25 -05:00
xwm: only take clipboard if window is focused
This commit is contained in:
parent
fc17c74516
commit
e3542d879d
3 changed files with 20 additions and 6 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue