aboutsummaryrefslogtreecommitdiffstats
path: root/sway/config
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-12-13 00:06:48 -0500
committerLibravatar Simon Ser <contact@emersion.fr>2019-12-13 09:53:51 +0100
commitf9ce8749dc4e4f4991aa336aba7137455aa67327 (patch)
treec0e7725fc1f290882730cf6c62f3420645427ba7 /sway/config
parentinput/keyboard: remove group listeners on destroy (diff)
downloadsway-f9ce8749dc4e4f4991aa336aba7137455aa67327.tar.gz
sway-f9ce8749dc4e4f4991aa336aba7137455aa67327.tar.zst
sway-f9ce8749dc4e4f4991aa336aba7137455aa67327.zip
input/keyboard: defer wlr_keyboard_group destroy
This defers the destruction of wlr_keyboard_groups until idle. This is to prevent the keyboard group's keyboard from being destroyed in the middle of handling a keyboard event. This would occur when changing the keymap of the last keyboard in a group with a keyboard binding. The prevents crashing when attempting to update the xkb state of the keyboard group's keyboard. The sway_keyboard_group is still immediately destroyed so that the group is no longer used
Diffstat (limited to 'sway/config')
0 files changed, 0 insertions, 0 deletions