[gnome-control-center] display: Fix making a tiled monitor primary again

commit 0005c32ded0f3e81963493d4bcf9be9a9d2844fc
Author: Dave Airlie <airlied redhat com>
Date:   Tue Mar 31 10:21:15 2015 +1000

    display: Fix making a tiled monitor primary again
    Don't break out of loop if we weren't primary, as this
    is stopping the user swapping back and forward between
    primary and secondary with a tiled monitor.
    i.e. user sets monitor to secondary and attempts to
    go back to primary and it fails to move it.

 panels/display/cc-display-panel.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c
index 6906979..1d04571 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -2312,8 +2312,6 @@ show_setup_dialog (CcDisplayPanel *panel)
                    * output is no longer primary */
                   gnome_rr_output_info_set_primary (outputs[i], !primary);
-                  if (!was_primary)
-                    break;

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