~brandontschaefer/unity/lp.1328677-fixv2

Viewing all changes in revision 3854.

  • Committer: CI bot
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2014-08-11 12:29:07 UTC
  • mfrom: (3844.5.2 monitor-scaling-pos)
  • Revision ID: ps-jenkins@lists.canonical.com-20140811122907-xvtrq6yjsx94wxzk
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. Fixes: 1351591
Approved by: Brandon Schaefer, PS Jenkins bot

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: