Merge lp:~compiz-team/compiz-core/oneiric.force_output_detection into lp:compiz-core/oneiric

Proposed by Sam Spilsbury
Status: Rejected
Rejected by: Sam Spilsbury
Proposed branch: lp:~compiz-team/compiz-core/oneiric.force_output_detection
Merge into: lp:compiz-core/oneiric
Diff against target: 32 lines (+4/-5)
1 file modified
src/screen.cpp (+4/-5)
To merge this branch: bzr merge lp:~compiz-team/compiz-core/oneiric.force_output_detection
Reviewer Review Type Date Requested Status
Compiz Maintainers Pending
Review via email: mp+73750@code.launchpad.net

Description of the change

Force output updates on redetection

To post a comment you must log in.
2799. By Sam Spilsbury

Remove wrong code

Revision history for this message
Sam Spilsbury (smspillaz) wrote :

Alberto's branch works fine, no need for this one

Unmerged revisions

2799. By Sam Spilsbury

Remove wrong code

2798. By Sam Spilsbury

Force output device update on detection

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/screen.cpp'
2--- src/screen.cpp 2011-08-23 08:02:43 +0000
3+++ src/screen.cpp 2011-09-02 09:59:31 +0000
4@@ -611,6 +611,8 @@
5 case CoreOptions::Outputs:
6 if (!noDetection && optionGetDetectOutputs ())
7 return false;
8+ /* Update output devices directly since we read the
9+ * option directly in this function */
10 updateOutputDevices ();
11 break;
12 default:
13@@ -1831,10 +1833,8 @@
14 mOptions[CoreOptions::DetectOutputs].value ().set (true);
15
16 }
17- else
18- {
19- updateOutputDevices ();
20- }
21+
22+ updateOutputDevices ();
23 }
24
25
26@@ -4410,7 +4410,6 @@
27 priv->reshape (priv->attrib.width, priv->attrib.height);
28
29 priv->detectOutputDevices ();
30- priv->updateOutputDevices ();
31
32 priv->getDesktopHints ();
33

Subscribers

People subscribed via source and target branches

to all changes: