aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-29 14:46:29 +0100
committeremersion <contact@emersion.fr>2018-04-29 14:46:29 +0100
commit62d7337d005c09fdbf8cf05af1aab3fb3a5189e2 (patch)
treeff84602694d54521a067e84033cb14e9c25c3f44 /include
parentddac792b61ed62b3546ad3a2b00e5fea3890985a (diff)
backend/x11: add one pointer per output
Diffstat (limited to 'include')
-rw-r--r--include/backend/x11.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/backend/x11.h b/include/backend/x11.h
index 1d56fbe8..f5557343 100644
--- a/include/backend/x11.h
+++ b/include/backend/x11.h
@@ -24,6 +24,9 @@ struct wlr_x11_output {
xcb_window_t win;
EGLSurface surf;
+ struct wlr_pointer pointer;
+ struct wlr_input_device pointer_dev;
+
struct wl_event_source *frame_timer;
int frame_delay;
};
@@ -43,9 +46,6 @@ struct wlr_x11_backend {
struct wlr_keyboard keyboard;
struct wlr_input_device keyboard_dev;
- struct wlr_pointer pointer;
- struct wlr_input_device pointer_dev;
-
struct wlr_egl egl;
struct wlr_renderer *renderer;
struct wl_event_source *event_source;
@@ -74,8 +74,6 @@ struct wlr_x11_backend {
struct wlr_x11_output *get_x11_output_from_window_id(struct wlr_x11_backend *x11,
xcb_window_t window);
-void get_x11_output_layout_box(struct wlr_x11_backend *backend,
- struct wlr_box *box);
extern const struct wlr_keyboard_impl keyboard_impl;
extern const struct wlr_pointer_impl pointer_impl;