diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2022-10-23 03:09:38 +0300 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2022-10-23 03:09:38 +0300 |
| commit | b2d6df3a13345f9de5bdc76540b003e9470ddd04 (patch) | |
| tree | 446b69802f7a1278710bb90d56f017d2d29ff439 /include | |
| parent | ba7413727a190540e1e877db116eb6c8d11f63eb (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')
| -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); |
