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



commit 5aac1e93f2acf7178ebe3336199594221b14e220
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 90e760b54..7f342775a 100644
--- a/panels/display/cc-display-config-dbus.c
+++ b/panels/display/cc-display-config-dbus.c
@@ -1257,7 +1257,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]