[gnome-control-center/benzea/only-show-appliable-scales: 3/4] display: Check scale is valid for all monitors when mirroring



commit 3687598ab45102c918de16aa568fd6a3ba8f862a
Author: Benjamin Berg <bberg redhat com>
Date:   Fri Feb 22 15:46:38 2019 +0100

    display: Check scale is valid for all monitors when mirroring

 panels/display/cc-display-config-dbus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/panels/display/cc-display-config-dbus.c b/panels/display/cc-display-config-dbus.c
index f5806fd7b..f130a64b8 100644
--- a/panels/display/cc-display-config-dbus.c
+++ b/panels/display/cc-display-config-dbus.c
@@ -1250,7 +1250,7 @@ cc_display_config_dbus_is_scaled_mode_valid (CcDisplayConfig *pself,
 {
   CcDisplayConfigDBus *self = CC_DISPLAY_CONFIG_DBUS (pself);
 
-  if (self->global_scale_required)
+  if (self->global_scale_required || cc_display_config_is_cloning (pself))
     return is_scale_allowed_by_active_monitors (self, scale);
 
   return is_scaled_mode_allowed (self, mode, scale);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]