wlroots/rootston
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
..
bindings.c Fix indentation in various files 2019-01-21 17:56:19 +01:00
config.c Working switches in rootston: 2018-12-15 14:42:35 +11:00
cursor.c Simplify evdev includes on FreeBSD by relying on up-to-date package 2019-01-07 08:08:47 +00:00
desktop.c Merge pull request #1423 from emersion/data-control 2019-01-06 22:41:35 -05:00
ini.c Fix gcc string truncation warnings 2018-04-13 14:37:53 +09:00
input.c [WIP][DONTMERGE]Add support for libinput_switch input devices 2018-12-15 14:42:35 +11:00
keyboard.c Factor out binding command execution to separate file 2018-12-15 14:42:35 +11:00
layer_shell.c layer-shell: add _v1 suffix 2018-09-14 19:32:33 +02:00
main.c rootston: document why Xwayland is disconnected before clients 2019-01-18 12:20:04 +01:00
meson.build Working switches in rootston: 2018-12-15 14:42:35 +11:00
output.c rootston: fix crash with fullscreen surfaces 2019-01-04 16:13:04 +03:00
README.md Update READMEs per tinywl merge 2019-01-03 10:10:03 -05:00
rootston.ini.example Implement pointer-constraints protocol in wlroots and rootston 2018-09-18 10:14:33 +02:00
seat.c data-device, primary-selection: add request_set_selection 2019-01-24 11:38:23 +01:00
switch.c Fix indentation in various files 2019-01-21 17:56:19 +01:00
text_input.c text-input: Accept disable requests 2018-10-13 20:46:53 +00:00
virtual_keyboard.c util: add wlr_ prefix to log symbols 2018-07-09 22:49:54 +01:00
wl_shell.c rootston: add support for wlr_foreign_toplevel_management_v1 2018-12-08 14:09:51 +01:00
xdg_shell_v6.c rootston: add support for wlr_foreign_toplevel_management_v1 2018-12-08 14:09:51 +01:00
xdg_shell.c Remove wlr_xdg_surface_send_close. 2019-01-13 14:22:49 +00:00
xwayland.c rootston: add support for wlr_foreign_toplevel_management_v1 2018-12-08 14:09:51 +01:00

rootston

Rootston is the "big" wlroots test compositor. It implements basically every feature of wlroots and may be useful as a reference for new compositors. However, it's mostly used as a testbed for wlroots development and does not have particularly clean code and is not particularly well designed: proceed with a grain of salt. It is not designed for end-users.

Running rootston

If you followed the build instructions in ../README.md, the rootston executable can be found at build/rootston/rootston. To use it, refer to the example config at rootston/rootston.ini.example and place a config file of your own at rootston.ini in the working directory (or in an arbitrary location via rootston -C). Other options are available, refer to rootston -h.