drm backend: detect non-desktop outputs

This commit is contained in:
Drew DeVault 2019-06-27 15:12:35 -04:00
parent 481fbbca58
commit 05ed202183
4 changed files with 13 additions and 2 deletions

View file

@ -16,6 +16,7 @@ union wlr_drm_connector_props {
uint32_t dpms;
uint32_t link_status; // not guaranteed to exist
uint32_t path;
uint32_t non_desktop;
// atomic-modesetting only

View file

@ -112,6 +112,9 @@ struct wlr_output {
bool frame_pending;
float transform_matrix[9];
// true, for example, with VR headsets
bool non_desktop;
struct wlr_output_state pending;
struct {