~muktupavels/compiz/gwd-improve-metacity

« back to all changes in this revision

Viewing changes to src/outputdevices.cpp

  • Committer: MC Return
  • Date: 2013-06-02 15:26:42 UTC
  • mto: This revision was merged to the branch mainline in revision 3739.
  • Revision ID: mc.return@gmx.net-20130602152642-leeamy1ko06c03lz
Minor additional fixes (indentation, brackets, whitespaces)

Show diffs side-by-side

added added

removed removed

Lines of Context:
167
167
            bestOutputSize = UINT_MAX;
168
168
 
169
169
        for (i = 0, highest = 0; i < outputDevs.size (); ++i)
 
170
        {
170
171
            if (overlapAreas[i] == highestScore)
171
172
            {
172
173
                currentSize = outputDevs[i].area ();
182
183
                    bestOutputSize = currentSize;
183
184
                }
184
185
            }
 
186
        }
185
187
    }
186
188
 
187
189
    return highest;