mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
types/wlr_pointer: add base wlr_input_device
wlr_pointer owns its wlr_input_device. It will be initialized when the pointer is initialized, and finished when the pointer is destroyed.
This commit is contained in:
parent
a1978b1299
commit
d5480efc7a
10 changed files with 53 additions and 51 deletions
|
|
@ -18,8 +18,8 @@
|
|||
#include <wlr/interfaces/wlr_input_device.h>
|
||||
#include <wlr/interfaces/wlr_keyboard.h>
|
||||
#include <wlr/interfaces/wlr_output.h>
|
||||
#include <wlr/interfaces/wlr_pointer.h>
|
||||
#include <wlr/interfaces/wlr_touch.h>
|
||||
#include <wlr/types/wlr_pointer.h>
|
||||
#include <wlr/render/drm_format_set.h>
|
||||
|
||||
#define XCB_EVENT_RESPONSE_TYPE_MASK 0x7f
|
||||
|
|
@ -35,7 +35,6 @@ struct wlr_x11_output {
|
|||
xcb_present_event_t present_event_id;
|
||||
|
||||
struct wlr_pointer pointer;
|
||||
struct wlr_input_device pointer_dev;
|
||||
|
||||
struct wlr_touch touch;
|
||||
struct wlr_input_device touch_dev;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue