aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-11-01 10:21:02 -0400
committerGitHub <noreply@github.com>2017-11-01 10:21:02 -0400
commit0d9d670dbdb62ebf78346119b588a9043d876f7e (patch)
tree7df3d5a2d36ad99d139b9797fb94d2996b04f62f /include
parentb2ff9f13b7be6830c42f61ac4a8cd59079da9723 (diff)
parenta15b35aa105048fa01ac76eefcf0919cad29df20 (diff)
Merge pull request #365 from emersion/wayland-backend-transform
Cursors ✕ Output Transformations fixes
Diffstat (limited to 'include')
-rw-r--r--include/wlr/interfaces/wlr_output.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h
index d365e8f5..b4f39d35 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,8 @@ 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);
+enum wl_output_transform wlr_output_transform_invert(enum wl_output_transform);
+
#endif