diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-10-23 03:09:38 +0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-10-23 11:56:29 +0200 |
commit | 9d99bb956fea8922f8e0196d67eabbd510c53f1f (patch) | |
tree | 446b69802f7a1278710bb90d56f017d2d29ff439 /include/sway/input/libinput.h | |
parent | 5e514e6474754ea6a4b4d1bfc5738457a0fb41cf (diff) |
Fix keymap being NULL and segfaulting on dev add
Moved `libinput_config` to the callers of
`sway_input_configure_libinput_device` so that we send the event after
the added event.
Diffstat (limited to 'include/sway/input/libinput.h')
-rw-r--r-- | include/sway/input/libinput.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/input/libinput.h b/include/sway/input/libinput.h index 890d632e..e4b1acc3 100644 --- a/include/sway/input/libinput.h +++ b/include/sway/input/libinput.h @@ -2,7 +2,7 @@ #define _SWAY_INPUT_LIBINPUT_H #include "sway/input/input-manager.h" -void sway_input_configure_libinput_device(struct sway_input_device *device); +bool sway_input_configure_libinput_device(struct sway_input_device *device); void sway_input_reset_libinput_device(struct sway_input_device *device); |