output: drop wlr_output_mode.flags

AFAIK this was always set to zero. Instead, compute wl_output mode flags on the
fly.

Technically this is a breaking change, but I don't think anybody uses this
field.
This commit is contained in:
Simon Ser 2019-07-19 22:42:37 +03:00 committed by Drew DeVault
parent bb05617414
commit 76ef089f52
2 changed files with 10 additions and 5 deletions

View file

@ -18,7 +18,6 @@
#include <wlr/types/wlr_buffer.h>
struct wlr_output_mode {
uint32_t flags; // enum wl_output_mode
int32_t width, height;
int32_t refresh; // mHz
bool preferred;