mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-06 13:29:45 -05:00
Implement absolute motion events for wayland
This commit is contained in:
parent
0813c1dd39
commit
272030652a
3 changed files with 38 additions and 21 deletions
|
|
@ -39,16 +39,17 @@ struct wlr_output_state {
|
|||
};
|
||||
|
||||
struct wlr_input_device_state {
|
||||
enum wlr_input_device_type type;
|
||||
struct wlr_backend_state* backend;
|
||||
void *resource;
|
||||
};
|
||||
|
||||
struct wlr_pointer_state {
|
||||
double surface_x;
|
||||
double surface_y;
|
||||
struct wlr_output *current_output;
|
||||
};
|
||||
|
||||
void wlr_wl_registry_poll(struct wlr_backend_state *backend);
|
||||
struct wlr_output *wlr_wl_output_for_surface(struct wlr_backend_state *backend,
|
||||
struct wl_surface *surface);
|
||||
|
||||
extern const struct wl_seat_listener seat_listener;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue