sway-patched-tray-menu/sway
Brian Ashworth 5c32a48453 input: fix reloading crash due to keyboard group configuring
Keyboard group keyboards should not call sway_keyboard_configure. They
do not have an input config and they derive their state from the
keyboards within the group.

For some reason, I got sway_keyboard_configure and
seat_configure_keyboard mixed up and thought seat_reset_device called
the latter.

Calling sway_keyboard_configure with a keyboard group's keyboard is not
supported and can cause issues. If any clients are listening to the ipc
input event, a sigsegv will occur due to not every property - such as
identifier - being wired up for keyboard group keyboard's.

This also adds an assertion to sway_keyboard_configure to ensure that
this does not occur in the future and any instances are quickly caught.
2020-05-19 15:42:32 -04:00
..
commands commands: Add per-view shortcuts_inhibitor command 2020-05-13 21:22:16 -04:00
config config/output: reconfigure input devices after full output init 2020-04-26 09:13:39 +02:00
desktop Render layer shell popups over the top layer 2020-04-10 10:45:47 +02:00
input input: fix reloading crash due to keyboard group configuring 2020-05-19 15:42:32 -04:00
tree commands: Add per-view shortcuts_inhibitor command 2020-05-13 21:22:16 -04:00
commands.c commands: Add per-view shortcuts_inhibitor command 2020-05-13 21:22:16 -04:00
config.c config: fix unfocused text color 2020-04-04 23:25:04 +02:00
criteria.c Introduce pid criteria token 2020-02-27 14:03:22 +01:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c Add each view's shell to JSON description 2020-04-27 20:37:57 -04:00
ipc-server.c ipc-server: improve error message 2020-02-29 19:59:42 +01:00
main.c config: fix validation exit code and log level 2020-02-11 16:02:11 +01:00
meson.build commands: Add per-view shortcuts_inhibitor command 2020-05-13 21:22:16 -04:00
security.c Replace _XOPEN_SOURCE with _POSIX_C_SOURCE 2018-11-25 17:19:43 +01:00
server.c Add a secondary headless backend 2020-05-01 17:00:14 +02:00
sway-bar.5.scd swaybar: complete barconfig_update event handling 2019-09-04 16:48:50 -10:00
sway-input.5.scd fix typos in sway-input.5.scd 2020-04-29 12:43:34 +02:00
sway-ipc.7.scd Add each view's shell to JSON description 2020-04-27 20:37:57 -04:00
sway-output.5.scd Simplify repaint scheduling documentation 2020-05-11 10:36:33 +02:00
sway.1.scd add dots to man 2020-04-14 10:10:35 +02:00
sway.5.scd commands: Add per-view shortcuts_inhibitor command 2020-05-13 21:22:16 -04:00
swaynag.c Rename symbol set_cloexec to sway_set_cloexec, remove duplicates. 2019-11-01 12:41:08 -04:00
xdg_decoration.c Fix xdg-decoration unconfigured if set before first commit 2019-05-03 15:37:32 -06:00