From b3c1ef41c3af391c8ebd1d4103c96d798a4ef5ba Mon Sep 17 00:00:00 2001 From: Jens Peters Date: Tue, 10 Jun 2025 17:07:17 +0200 Subject: [PATCH] input: remove zero initialization This is already done by `znew()`. --- src/input/tablet-tool.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/input/tablet-tool.c b/src/input/tablet-tool.c index 2532b0b9..fcc1e733 100644 --- a/src/input/tablet-tool.c +++ b/src/input/tablet-tool.c @@ -70,17 +70,6 @@ tablet_tool_create(struct seat *seat, wlr_tablet_tool_create(seat->server->tablet_manager, seat->seat, wlr_tablet_tool); wlr_tablet_tool->data = tool; - tool->force_mouse_emulation = false; - tool->motion_mode = LAB_TABLET_MOTION_ABSOLUTE; - tool->x = 0.0; - tool->y = 0.0; - tool->distance = 0.0; - tool->pressure = 0.0; - tool->tilt_x = 0.0; - tool->tilt_y = 0.0; - tool->rotation = 0.0; - tool->slider = 0.0; - tool->wheel_delta = 0.0; wlr_log(WLR_INFO, "tablet tool capabilities:%s%s%s%s%s%s", wlr_tablet_tool->tilt ? " tilt" : "", wlr_tablet_tool->pressure ? " pressure" : "", -- 2.52.0