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. https://bugzilla.gnome.org/show_bug.cgi?id=751680
This commit is contained in:
parent
458cebb26d
commit
0005c32ded
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue