mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
include: move a few types from labwc.h to better locations
This commit is contained in:
parent
e1475a1e47
commit
2e6b30eb50
6 changed files with 41 additions and 46 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue