aboutsummaryrefslogtreecommitdiff
path: root/include/backend/wayland.h
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-12-13 22:32:22 +0100
committeremersion <contact@emersion.fr>2017-12-13 22:32:22 +0100
commita1302cc4a517b2a2851b0b41848cf2f001b954f3 (patch)
tree59c79754374d20121214bce599cc197e627e5933 /include/backend/wayland.h
parent257559d890d294cbbc1c036ec9a1855d81d0db8b (diff)
Fix pointer events with multiple outputs in wayland backend
Diffstat (limited to 'include/backend/wayland.h')
-rw-r--r--include/backend/wayland.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/backend/wayland.h b/include/backend/wayland.h
index 1e8a55d2..7e2ec0d6 100644
--- a/include/backend/wayland.h
+++ b/include/backend/wayland.h
@@ -7,6 +7,7 @@
#include <wayland-egl.h>
#include <wlr/render/egl.h>
#include <wlr/backend/wayland.h>
+#include <wlr/types/wlr_box.h>
#include <wlr/types/wlr_output.h>
#include <wlr/types/wlr_input_device.h>
#include <wayland-util.h>
@@ -75,6 +76,8 @@ void wlr_wl_registry_poll(struct wlr_wl_backend *backend);
void wlr_wl_output_update_cursor(struct wlr_wl_backend_output *output);
struct wlr_wl_backend_output *wlr_wl_output_for_surface(
struct wlr_wl_backend *backend, struct wl_surface *surface);
+void wlr_wl_output_layout_get_box(struct wlr_wl_backend *backend,
+ struct wlr_box *box);
extern const struct wl_seat_listener seat_listener;