~unity-team/unity/fix-lp1351591-trusty

Viewing all changes in revision 3831.

  • Committer: Chris Townsend
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2015-05-28 15:17:07 UTC
  • Revision ID: christopher.townsend@canonical.com-20150528151707-vxdzurq9y7i2gpx8
UScreen, PanelService: get monitor at position, ignoring pre-multipled Gdk scale factor

Get monitor position based on absolute coordinates, ignoring the pre-multipled
scaling factor that Gdk applies to all the monitor sizes.

In this way we get the proper monitor index for absolute coordinates,
independently from the scaling factor.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: