aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-12-13 07:56:08 -0500
committerGitHub <noreply@github.com>2017-12-13 07:56:08 -0500
commit96f09c749228f631e3a160de370e2894a4428e20 (patch)
tree35c6a0da0b6f296603711358a53847c6959acd67 /include
parent808ab5aa1bd990776ae30d5f9bb171ca7b42d6ef (diff)
parent3b4b8953d96194e8b168149f46c731443239accd (diff)
Merge pull request #483 from emersion/dynamic-output-scale-transform
Update output layout when scale or transform changes
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_output.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h
index 7f681ab7..99737c48 100644
--- a/include/wlr/types/wlr_output.h
+++ b/include/wlr/types/wlr_output.h
@@ -62,6 +62,8 @@ struct wlr_output {
struct wl_signal frame;
struct wl_signal swap_buffers;
struct wl_signal resolution;
+ struct wl_signal scale;
+ struct wl_signal transform;
struct wl_signal destroy;
} events;
@@ -85,7 +87,7 @@ bool wlr_output_set_mode(struct wlr_output *output,
struct wlr_output_mode *mode);
bool wlr_output_set_custom_mode(struct wlr_output *output, int32_t width,
int32_t height, int32_t refresh);
-void wlr_output_transform(struct wlr_output *output,
+void wlr_output_set_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);
void wlr_output_set_scale(struct wlr_output *output, uint32_t scale);