output-management-v1: support outputs without modes

This commit is contained in:
emersion 2019-03-10 11:59:15 +01:00 committed by Drew DeVault
parent 81e1489e79
commit fc0ba3ea22
2 changed files with 62 additions and 21 deletions

View file

@ -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;