From 6f5c70ac690dcb8981d160a9480f27f6bef7494c Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 6 Jun 2017 11:48:30 -0400 Subject: Let backend track transform state This will be necessary to provide it to clients via wl_output. --- include/wlr/types.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/wlr') diff --git a/include/wlr/types.h b/include/wlr/types.h index 8014974a..5de80a60 100644 --- a/include/wlr/types.h +++ b/include/wlr/types.h @@ -40,8 +40,11 @@ struct wlr_output { } events; }; -bool wlr_output_set_mode(struct wlr_output *output, struct wlr_output_mode *mode); void wlr_output_enable(struct wlr_output *output, bool enable); +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_destroy(struct wlr_output *output); #endif -- cgit v1.2.3