diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-06-20 17:51:45 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-06-20 17:51:45 -0400 |
commit | b9d36c8149536cff1aa229f59337dcfa2f70a37b (patch) | |
tree | 1381f243d1bb9df41691e2b92593a8495bb80f37 /include/wlr | |
parent | c9d5a0b2fb5686627344922138c3c603cae364bc (diff) |
Add dynamic output resizing for Wayland backend
This allows outputs to:
- Not support modesetting
- Resize themselves
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/types.h b/include/wlr/types.h index 1d2abab5..6b6a3389 100644 --- a/include/wlr/types.h +++ b/include/wlr/types.h @@ -33,11 +33,13 @@ struct wlr_output { float transform_matrix[16]; + /* Note: some backends may have zero modes */ list_t *modes; struct wlr_output_mode *current_mode; struct { struct wl_signal frame; + struct wl_signal resolution; } events; }; |