include: move a few types from labwc.h to better locations

This commit is contained in:
John Lindgren 2025-07-26 16:23:02 -04:00 committed by Johan Malm
parent e1475a1e47
commit 2e6b30eb50
6 changed files with 41 additions and 46 deletions

View file

@ -2,7 +2,16 @@
#ifndef LABWC_INPUT_H
#define LABWC_INPUT_H
struct seat;
#include <wayland-server-core.h>
struct input {
struct wlr_input_device *wlr_input_device;
struct seat *seat;
/* Set for pointer/touch devices */
double scroll_factor;
struct wl_listener destroy;
struct wl_list link; /* seat.inputs */
};
void input_handlers_init(struct seat *seat);
void input_handlers_finish(struct seat *seat);