mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 12:02:04 +00:00
connector/kms: Add missing else statement
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1715>
This commit is contained in:
parent
7a75c7ea1f
commit
2c0bd98f21
@ -188,7 +188,7 @@ state_set_properties (MetaKmsConnectorState *state,
|
|||||||
else if ((prop->flags & DRM_MODE_PROP_ENUM) &&
|
else if ((prop->flags & DRM_MODE_PROP_ENUM) &&
|
||||||
strcmp (prop->name, "panel orientation") == 0)
|
strcmp (prop->name, "panel orientation") == 0)
|
||||||
set_panel_orientation (state, prop, drm_connector->prop_values[i]);
|
set_panel_orientation (state, prop, drm_connector->prop_values[i]);
|
||||||
if ((prop->flags & DRM_MODE_PROP_RANGE) &&
|
else if ((prop->flags & DRM_MODE_PROP_RANGE) &&
|
||||||
strcmp (prop->name, "non-desktop") == 0)
|
strcmp (prop->name, "non-desktop") == 0)
|
||||||
state->non_desktop = drm_connector->prop_values[i];
|
state->non_desktop = drm_connector->prop_values[i];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user