swayfx/sway
Brian Ashworth 3e8f548d1d Revamp seat configs
This makes seat configs work like output and input configs do. This also
adds support for wildcard seat configs. A seat config is still created
in the main seat command handler, but instead of creating a new one in
the subcommands and destroying the main seat command's instance, the
seat subcommands modify the main one. The seat config is then stored,
where it is merged appropriately. The seat config returned from
`store_seat_config` is then applied. When attempting to apply a wildcard
seat config, a seat specific config is queried for and if found, that is
used. Otherwise, the wildcard config is applied directly.

Additionally, instead of adding input devices to the default seat
directly when there is no seat configs, a seat config for the default
seat is created with only fallback set to true, which is more explicit.
It also fixes an issue where running a seat command at runtime (with no
seat config in the sway config), would result in all input devices being
removed from the default seat and leaving sway in an unusable state.

Also, instead of checking for any seat config, the search is for a seat
config with a fallback option seat. This makes it so if there are only
seat configs with fallback set to -1, the default seat is still created
since there is no explicit notion on what to do regarding fallbacks.
However, if there is even a single fallback 0, then the default seat is
not used as a fallback. This will be needed for seat subcommands like
hide_cursor where the user may only want to set that property without
effecting anything else.
2018-12-29 19:40:40 +01:00
..
commands Revamp seat configs 2018-12-29 19:40:40 +01:00
config Revamp seat configs 2018-12-29 19:40:40 +01:00
desktop Fix wlr_box_intersection args for wlroots 1441 2018-12-22 18:54:08 +01:00
input Revamp seat configs 2018-12-29 19:40:40 +01:00
tree Fix crash when scratchpad contains split containers 2018-12-29 14:45:42 +10:00
commands.c Revamp seat configs 2018-12-29 19:40:40 +01:00
config.c Implement hide_cursor <timeout> command 2018-12-25 13:31:56 +01:00
criteria.c Replace _XOPEN_SOURCE with _POSIX_C_SOURCE 2018-11-25 17:19:43 +01:00
debug-tree.c Minor refactor of input manager 2018-10-20 13:11:43 +10:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c added fullscreen_mode to get_tree output 2018-12-25 15:24:01 +01:00
ipc-server.c Add failure reply on IPC_SYNC 2018-12-29 17:07:26 +01:00
main.c Cleanup list code 2018-12-09 01:15:38 +00:00
meson.build Implement hide_cursor <timeout> command 2018-12-25 13:31:56 +01:00
security.c Replace _XOPEN_SOURCE with _POSIX_C_SOURCE 2018-11-25 17:19:43 +01:00
server.c Update for swaywm/wlroots#1387 2018-11-23 12:07:46 +01:00
sway-bar.5.scd Implement bar gaps 2018-11-28 11:24:14 -05:00
sway-input.5.scd Add scroll factor config option. 2018-11-18 13:49:30 -05:00
sway-output.5.scd sway-output(5): doc scaling consideration for pos 2018-12-29 17:25:29 +01:00
sway.1.scd Establish sway-output(5) 2018-10-14 10:52:57 -04:00
sway.5.scd Implement hide_cursor <timeout> command 2018-12-25 13:31:56 +01:00
swaynag.c Allow swaynag to be disabled 2018-10-08 09:59:38 -04:00
xdg_decoration.c Improve CSD logic 2018-09-27 22:51:37 +10:00