aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-10-21 09:37:58 -0400
committerTony Crisci <tony@dubstepdish.com>2017-10-21 09:37:58 -0400
commita87b60e31e5288c1c3e8c8f94c9a7ccb29e38b54 (patch)
treee9d1daaa8fc5a2ee1103ec19855b958f47932145 /include/wlr
parent39308cb8688560607cb1d024123d32a7905c6369 (diff)
parent1782d5e7b7dc5e494cfee72b758d5fa8114aecc8 (diff)
Merge branch 'master' into feature/data-device-selection
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_output.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h
index dc637e26..312b51f8 100644
--- a/include/wlr/types/wlr_output.h
+++ b/include/wlr/types/wlr_output.h
@@ -56,6 +56,9 @@ struct wlr_output {
struct wl_listener surface_destroy;
} cursor;
+ // the output position in layout space reported to clients
+ int32_t lx, ly;
+
void *data;
};
@@ -66,6 +69,7 @@ bool wlr_output_set_mode(struct wlr_output *output,
struct wlr_output_mode *mode);
void wlr_output_transform(struct wlr_output *output,
enum wl_output_transform transform);
+void wlr_output_set_position(struct wlr_output *output, int32_t lx, int32_t ly);
bool wlr_output_set_cursor(struct wlr_output *output,
const uint8_t *buf, int32_t stride, uint32_t width, uint32_t height,
int32_t hotspot_x, int32_t hotspot_y);