diff options
author | 2018-12-29 21:50:03 -0500 | |
---|---|---|
committer | 2018-12-30 14:12:36 +0100 | |
commit | 09bb71f6507d86d98b5b9825f28b91ddd4b9a09b (patch) | |
tree | de570ea01b3262c46441afb1f75570a4d44210e8 /swaybar/main.c | |
parent | Revamp seat configs (diff) | |
download | sway-09bb71f6507d86d98b5b9825f28b91ddd4b9a09b.tar.gz sway-09bb71f6507d86d98b5b9825f28b91ddd4b9a09b.tar.zst sway-09bb71f6507d86d98b5b9825f28b91ddd4b9a09b.zip |
Verify seat fallback settings on reload
This fixes an issue where on reload, all input devices that were added
via an implicit fallback to the default seat would be removed from the
default seat and applications would crash due to the seat having no
capabilities.
On reload, there is a query for a seat config with the fallback setting
set (it can either be true or false). If no such seat config exists, the
default seat is created (if needed) and has the implicit fallback true
applied to its seat config. This is the same procedure that occurs when
a new input is detected.
Diffstat (limited to 'swaybar/main.c')
0 files changed, 0 insertions, 0 deletions