diff options
author | Simon Zeni <simon@bl4ckb0ne.ca> | 2022-01-31 10:20:01 -0500 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2022-02-21 17:11:32 +0000 |
commit | d5480efc7a03641600df411dea93308e5edc8b27 (patch) | |
tree | 377e16476b41a7740a3cb88b5e3338da95eac6a3 /include/backend | |
parent | a1978b1299952586a2fd016aab682c7fdbe735ee (diff) |
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.
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/x11.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/backend/x11.h b/include/backend/x11.h index b5c430fb..ee484654 100644 --- a/include/backend/x11.h +++ b/include/backend/x11.h @@ -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; |