diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-10-20 08:30:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-20 08:30:39 -0400 |
commit | c7f39d0eb8c75e450f6f8e6198029990d8994f75 (patch) | |
tree | 74f68d958c9fb6141012705ecb99ed56b09646e7 /include | |
parent | 6ef2b421416006554483de6eb656c80b538b6eae (diff) | |
parent | eaed6b6d294e82124cd4f7a70387f590e3910552 (diff) |
Merge pull request #297 from acrisci/feature/wl-output-geometry
wl-output: send layout position
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_output.h | 4 |
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); |