mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-10 13:29:44 -05:00
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 |
||
|---|---|---|
| .. | ||
| bindings.h | ||
| config.h | ||
| cursor.h | ||
| desktop.h | ||
| ini.h | ||
| input.h | ||
| keyboard.h | ||
| layers.h | ||
| output.h | ||
| seat.h | ||
| server.h | ||
| switch.h | ||
| text_input.h | ||
| view.h | ||
| virtual_keyboard.h | ||
| xcursor.h | ||