~azzar1/unity/fix-scale-activation-show-desktop

Viewing all changes in revision 4120.

  • Committer: CI Train Bot
  • Author(s): Eleni Maria Stea
  • Date: 2016-05-25 14:22:38 UTC
  • mfrom: (4107.1.1 unity)
  • Revision ID: ci-train-bot@canonical.com-20160525142238-wm6884s7mnh1tglc
PanelView: Don't draw it if the geo doesn't intersect the monitor geo (as in ezoom)

added check to see if the panel geometry intersects the geometry of the monitor the panel belongs to. If there's no intersection there's no need to draw it (return). If there is intersection we should only draw the intersection area (clip the non visible parts).
Approved by: Marco Trevisan (Treviño)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: