aboutsummaryrefslogtreecommitdiff
path: root/backend/x11
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
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')
-rw-r--r--backend/x11/backend.c2
-rw-r--r--backend/x11/output.c4
2 files changed, 3 insertions, 3 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;
diff --git a/backend/x11/output.c b/backend/x11/output.c
index b87b08dc..d500795f 100644
--- a/backend/x11/output.c
+++ b/backend/x11/output.c
@@ -574,13 +574,13 @@ struct wlr_output *wlr_x11_output_create(struct wlr_backend *backend) {
wlr_output_update_enabled(wlr_output, true);
wlr_input_device_init(&output->pointer_dev, WLR_INPUT_DEVICE_POINTER,
- &input_device_impl, "X11 pointer", 0, 0);
+ &input_device_impl, "X11 pointer");
wlr_pointer_init(&output->pointer, &pointer_impl);
output->pointer_dev.pointer = &output->pointer;
output->pointer_dev.output_name = strdup(wlr_output->name);
wlr_input_device_init(&output->touch_dev, WLR_INPUT_DEVICE_TOUCH,
- &input_device_impl, "X11 touch", 0, 0);
+ &input_device_impl, "X11 touch");
wlr_touch_init(&output->touch, &touch_impl);
output->touch_dev.touch = &output->touch;
output->touch_dev.output_name = strdup(wlr_output->name);