aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-10-31 18:00:33 +0100
committeremersion <contact@emersion.fr>2017-11-01 11:00:27 +0100
commit0beae99188d7885bed15eef548acf6b2a9fb9f79 (patch)
treebf655b59d0c6073e0f20accfcc929974d958948a /include/wlr
parentc7c0d34e920dea27cab3b88c50b1202343a54435 (diff)
Apply output transformation to pointer events in Wayland backend
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/interfaces/wlr_output.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h
index d365e8f5..1f6c60eb 100644
--- a/include/wlr/interfaces/wlr_output.h
+++ b/include/wlr/interfaces/wlr_output.h
@@ -2,6 +2,7 @@
#define WLR_INTERFACES_WLR_OUTPUT_H
#include <stdbool.h>
+#include <wlr/types/wlr_box.h>
#include <wlr/types/wlr_output.h>
#include <wlr/backend.h>
@@ -31,4 +32,7 @@ struct wl_global *wlr_output_create_global(struct wlr_output *wlr_output,
struct wl_display *display);
void wlr_output_destroy_global(struct wlr_output *wlr_output);
+void wlr_output_transform_apply_to_box(enum wl_output_transform transform,
+ struct wlr_box *box, struct wlr_box *dest);
+
#endif