Skip to content

Allow unfocused xwayland clients to access clipboard

Created by: tomKPZ

Fixes [1]. These checks were added in [2] in Dec 2017 to prevent unfocused xwayland clients from accessing the clipboard. But the wlr-data-control-unstable-v1 protocol added in Dec 2018 [3] allows unfocused clients to access the clipboard anyway (eg. wl-copy/wl-paste), so the original checks seem obsolete. Since the checks are causing issues (eg. for open-vm-tools), this change removes them.

[1] https://github.com/swaywm/wlroots/issues/2886 [2] https://github.com/swaywm/wlroots/commit/b884025558e750268a06818dc63bc46716c75843 [3] https://github.com/swaywm/wlr-protocols/commit/cdd0eddd54ae302c40f1110572b7e9908c289b2e

Merge request reports