aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-11-01 15:13:49 -0400
committerGitHub <noreply@github.com>2017-11-01 15:13:49 -0400
commitbd85cbd4780da2b840c89c135a3d4569d8a73560 (patch)
tree864524feb7a11818a45f015706d1f600e03fbb1f /include
parent697a24137b67bb50b52c5307a3f7cdebbc9509b8 (diff)
parente18460c9811a8c9b0283aec330500f536747d078 (diff)
Merge pull request #377 from emersion/output-needs-swap
Add wlr_output.needs_swap
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_output.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h
index f9bce91f..b5523100 100644
--- a/include/wlr/types/wlr_output.h
+++ b/include/wlr/types/wlr_output.h
@@ -1,9 +1,9 @@
#ifndef WLR_TYPES_WLR_OUTPUT_H
#define WLR_TYPES_WLR_OUTPUT_H
+#include <stdbool.h>
#include <wayland-util.h>
#include <wayland-server.h>
-#include <stdbool.h>
struct wlr_output_mode {
uint32_t flags; // enum wl_output_mode
@@ -44,8 +44,9 @@ struct wlr_output {
uint32_t scale;
int32_t width, height;
int32_t phys_width, phys_height; // mm
- int32_t subpixel; // enum wl_output_subpixel
- int32_t transform; // enum wl_output_transform
+ enum wl_output_subpixel subpixel;
+ enum wl_output_transform transform;
+ bool needs_swap;
float transform_matrix[16];