Make touch depend on cursor to prevent racing

This commit is contained in:
Consolatis 2023-09-03 19:07:55 +02:00 committed by Johan Malm
parent 8d0812d45a
commit 5e1562fae6
5 changed files with 18 additions and 14 deletions

10
include/input/touch.h Normal file
View file

@ -0,0 +1,10 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef LABWC_TOUCH_H
#define LABWC_TOUCH_H
struct seat;
void touch_init(struct seat *seat);
void touch_finish(struct seat *seat);
#endif /* LABWC_TOUCH_H */

View file

@ -418,9 +418,6 @@ void keyboard_init(struct seat *seat);
bool keyboard_any_modifiers_pressed(struct wlr_keyboard *keyboard);
void keyboard_finish(struct seat *seat);
void touch_init(struct seat *seat);
void touch_finish(struct seat *seat);
void seat_init(struct server *server);
void seat_finish(struct server *server);
void seat_reconfigure(struct server *server);