~hikiko/mir/mir.unity8-desktop-session

« back to all changes in this revision

Viewing changes to src/server/scene/mediating_display_changer.cpp

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Daniel van Vugt, Ubuntu daily release
  • Date: 2014-01-08 02:04:38 UTC
  • mfrom: (1.1.54)
  • Revision ID: package-import@ubuntu.com-20140108020438-ikbu7qqm9v2l026y
Tags: 0.1.3+14.04.20140108-0ubuntu1
[ Daniel van Vugt ]
* Preparing for release 0.1.3

[ Ubuntu daily release ]
* Automatic snapshot from revision 1170

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
    conf->for_each_output([&](mg::DisplayConfigurationOutput const& output) -> void
130
130
    {
131
131
        if (!output.used) return;
132
 
        
 
132
 
133
133
        if (output.power_mode != mir_power_mode_on)
134
134
        {
135
135
            switched = true;
136
136
            conf->configure_output(output.id, output.used,
137
 
                                   output.top_left, 
 
137
                                   output.top_left,
138
138
                                   output.current_mode_index,
139
139
                                   mir_power_mode_on);
140
140
        }