~ci-train-bot/unity/unity-ubuntu-xenial-3161

« back to all changes in this revision

Viewing changes to decorations/DecoratedWindow.cpp

  • Committer: Bileto Bot
  • Date: 2018-02-21 19:33:48 UTC
  • mfrom: (4116.1.3 unity-x)
  • Revision ID: ci-train-bot@canonical.com-20180221193348-7d40l84ykevc1det
* Unity use track_obj to safely connect to UScreen and Settings
  signals (LP: #1748330) (LP: #1748330)
* CairoBaseWindow: don't try to compute the blur of an invalid texture
  (LP: #1290056)
* Unity: use new definition of infinite CompRegion's

Show diffs side-by-side

added added

removed removed

Lines of Context:
816
816
    return;
817
817
  }
818
818
 
819
 
  auto const& clip_region = (mask & PAINT_WINDOW_TRANSFORMED_MASK) ? infiniteRegion : region;
 
819
  auto const& clip_region = (mask & PAINT_WINDOW_TRANSFORMED_MASK) ?
 
820
                             CompRegion::infinite() : region;
 
821
 
820
822
  mask |= PAINT_WINDOW_BLEND_MASK;
821
823
 
822
824
  if (win_->alpha() || attrib.opacity != OPAQUE)