[gnome-control-center/wip/rtcm/new-display-config: 6/9] 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/9] display: Unset primary from a turned off monitor
- Date: Wed, 12 Apr 2017 17:56:15 +0000 (UTC)
commit b157a57ada7a06533a86a2e818c7cd57611b2b94
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 aaf23cc..2d91646 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -2354,6 +2354,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]