aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Yaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-10-23 03:09:38 +0300
committerLibravatar Simon Ser <contact@emersion.fr>2022-10-23 11:56:29 +0200
commit9d99bb956fea8922f8e0196d67eabbd510c53f1f (patch)
tree446b69802f7a1278710bb90d56f017d2d29ff439 /include
parentinput: tweak focus behavior to allow focusing parent containers (diff)
downloadsway-9d99bb956fea8922f8e0196d67eabbd510c53f1f.tar.gz
sway-9d99bb956fea8922f8e0196d67eabbd510c53f1f.tar.zst
sway-9d99bb956fea8922f8e0196d67eabbd510c53f1f.zip
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.h2
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 @@
2#define _SWAY_INPUT_LIBINPUT_H 2#define _SWAY_INPUT_LIBINPUT_H
3#include "sway/input/input-manager.h" 3#include "sway/input/input-manager.h"
4 4
5void sway_input_configure_libinput_device(struct sway_input_device *device); 5bool sway_input_configure_libinput_device(struct sway_input_device *device);
6 6
7void sway_input_reset_libinput_device(struct sway_input_device *device); 7void sway_input_reset_libinput_device(struct sway_input_device *device);
8 8