aboutsummaryrefslogtreecommitdiff
path: root/backend/x11/backend.c
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2022-02-04 09:26:57 -0500
committerKirill Primak <vyivel@eclair.cafe>2022-02-21 17:11:32 +0000
commit71577e351e7954467e2376ac7bb92edc4ce53159 (patch)
tree5251a9b8bdac59973d28f08892920ad02e05600c /backend/x11/backend.c
parent7d560df90e7ee684dc26306f44a0b3c7f8cf2702 (diff)
types/wlr_input_device: default vendor and product id to 0
vendor and product id are set when needed by the libinput backend
Diffstat (limited to 'backend/x11/backend.c')
-rw-r--r--backend/x11/backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/x11/backend.c b/backend/x11/backend.c
index ae20559c..70fc0478 100644
--- a/backend/x11/backend.c
+++ b/backend/x11/backend.c
@@ -639,7 +639,7 @@ struct wlr_backend *wlr_x11_backend_create(struct wl_display *display,
#endif
wlr_input_device_init(&x11->keyboard_dev, WLR_INPUT_DEVICE_KEYBOARD,
- &input_device_impl, "X11 keyboard", 0, 0);
+ &input_device_impl, "X11 keyboard");
wlr_keyboard_init(&x11->keyboard, &keyboard_impl);
x11->keyboard_dev.keyboard = &x11->keyboard;