mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-07 13:29:49 -05:00
rootston: break up input.h
This commit is contained in:
parent
80b4a2f64c
commit
53021f8ed4
12 changed files with 93 additions and 52 deletions
16
include/rootston/pointer.h
Normal file
16
include/rootston/pointer.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#ifndef _ROOTSTON_POINTER_H
|
||||
#define _ROOTSTON_POINTER_H
|
||||
|
||||
#include <wayland-server.h>
|
||||
#include <wlr/types/wlr_input_device.h>
|
||||
|
||||
struct roots_pointer {
|
||||
struct roots_input *input;
|
||||
struct wlr_input_device *device;
|
||||
struct wl_list link;
|
||||
};
|
||||
|
||||
void pointer_add(struct wlr_input_device *device, struct roots_input *input);
|
||||
void pointer_remove(struct wlr_input_device *device, struct roots_input *input);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue