[gnome-control-center/wip/rtcm/new-display-config: 6/7] display: Unset primary from a turned off monitor
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/rtcm/new-display-config: 6/7] display: Unset primary from a turned off monitor
- Date: Fri, 7 Apr 2017 17:00:16 +0000 (UTC)
commit ac34804158c9371166b29d31306cb0ed2bfc8027
Author: Rui Matos <tiagomatos gmail com>
Date: Fri Apr 7 17:07:56 2017 +0200
display: Unset primary from a turned off monitor
When setting the primary monitor off we were setting all other
monitors as non-primary which is clearly wrong. It only worked
correctly because the backend code in GnomeRR would implicitly
select a primary for us.
panels/display/cc-display-panel.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c
index c7bcaa5..f6ff286 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -2432,6 +2432,7 @@ show_setup_dialog (CcDisplayPanel *panel)
break;
case DISPLAY_MODE_OFF:
+ primary = FALSE;
clone = FALSE;
active = FALSE;
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]