aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2019-03-10 11:59:15 +0100
committerDrew DeVault <sir@cmpwn.com>2019-04-11 09:19:57 -0600
commitfc0ba3ea22206fa55254ca00defcddebf5327ba1 (patch)
tree941fb5908547e555744f5c01324aa2f2615c4eed /include/wlr
parent81e1489e7937b4fbf0b15a69627c653641325496 (diff)
output-management-v1: support outputs without modes
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_output_management_v1.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_output_management_v1.h b/include/wlr/types/wlr_output_management_v1.h
index c6429e04..1104c938 100644
--- a/include/wlr/types/wlr_output_management_v1.h
+++ b/include/wlr/types/wlr_output_management_v1.h
@@ -37,6 +37,10 @@ struct wlr_output_head_v1_state {
bool enabled;
struct wlr_output_mode *mode;
+ struct {
+ int width, height;
+ int refresh;
+ } custom_mode;
int32_t x, y;
enum wl_output_transform transform;
double scale;