wlroots/xwayland
emersion 4cb0697e57 data-device, primary-selection: add request_set_selection
This makes compositors able to block and/or customize set_selection requests
coming from clients. For instance, it's possible for a compositor to disable
rich selection content (by removing all MIME types except text/plain). This
commit implements the design proposed in [1].

Two new events are added to wlr_seat: request_set_selection and
request_set_primary_selection. Compositors need to listen to these events and
either destroy the source or effectively set the selection.

Fixes https://github.com/swaywm/wlroots/issues/1138

[1]: https://github.com/swaywm/wlroots/issues/1367#issuecomment-442403454
2019-01-24 11:38:23 +01:00
..
selection data-device, primary-selection: add request_set_selection 2019-01-24 11:38:23 +01:00
meson.build Use #if instead of #ifdef for wlroots config data 2018-11-12 10:12:46 +01:00
sockets.c Use _POSIX_C_SOURCE, use shm_open 2018-11-06 08:29:23 +01:00
sockets.h xwayland: move & split internal header file 2017-08-23 22:03:49 +02:00
xwayland.c xwayland: remove clearenv() call 2018-12-13 09:06:28 +09:00
xwm.c Use #if instead of #ifdef for wlroots config data 2018-11-12 10:12:46 +01:00