~vanvugt/compiz/fix-1081425

« back to all changes in this revision

Viewing changes to plugins/expo/src/expo.cpp

  • Committer: Daniel van Vugt
  • Date: 2012-11-22 09:01:37 UTC
  • Revision ID: daniel.van.vugt@canonical.com-20121122090137-13dqw91fgi0wiie4
Fixed o/b/s being properly restored on exit from expo.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1340
1340
                           unsigned int        mask)
1341
1341
{
1342
1342
    GLWindowPaintAttrib a (attrib);
1343
 
    a.opacity *= opacity;
1344
 
    a.brightness *= brightness;
1345
 
    a.saturation *= saturation;
 
1343
 
 
1344
    if (eScreen->expoCam > 0.0)
 
1345
    {
 
1346
        a.opacity *= opacity;
 
1347
        a.brightness *= brightness;
 
1348
        a.saturation *= saturation;
 
1349
    }
1346
1350
 
1347
1351
    if (eScreen->expoCam > 0.0                                 &&
1348
1352
        eScreen->optionGetDeform () == ExpoScreen::DeformCurve &&