~didrocks/unity/launcher-bug-fix-fest

« back to all changes in this revision

Viewing changes to src/Launcher.cpp

  • Committer: Didier Roche
  • Date: 2011-03-24 14:37:16 UTC
  • Revision ID: didier.roche@canonical.com-20110324143716-c92yox2p28lfmkem
use border instead of input rects (LP: #741761)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1536
1536
  if (!window || !(window->type () & intersect_types) || !window->isMapped () || !window->isViewable ())
1537
1537
    return false;
1538
1538
 
1539
 
  if (CompRegion (window->inputRect ()).intersects (CompRect (geo.x, geo.y, geo.width, geo.height)))
 
1539
  if (CompRegion (window->borderRect ()).intersects (CompRect (geo.x, geo.y, geo.width, geo.height)))
1540
1540
    return true;
1541
1541
 
1542
1542
  return false;