mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +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,8 +188,8 @@ state_set_properties (MetaKmsConnectorState *state,
|
||||
else if ((prop->flags & DRM_MODE_PROP_ENUM) &&
|
||||
strcmp (prop->name, "panel orientation") == 0)
|
||||
set_panel_orientation (state, prop, drm_connector->prop_values[i]);
|
||||
if ((prop->flags & DRM_MODE_PROP_RANGE) &&
|
||||
strcmp (prop->name, "non-desktop") == 0)
|
||||
else if ((prop->flags & DRM_MODE_PROP_RANGE) &&
|
||||
strcmp (prop->name, "non-desktop") == 0)
|
||||
state->non_desktop = drm_connector->prop_values[i];
|
||||
|
||||
drmModeFreeProperty (prop);
|
||||
|
Loading…
Reference in New Issue
Block a user