~unity-team/unity/trusty

Viewing all changes in revision 3833.

  • Committer: CI Train Bot
  • Author(s): Chris Townsend, Marco Trevisan (Treviño)
  • Date: 2015-10-21 15:54:25 UTC
  • mfrom: (3830.2.2 fix-lp1351591-trusty)
  • Revision ID: ci-train-bot@canonical.com-20151021155425-19paa474o4uud31k
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: Marco Trevisan (Treviño), PS Jenkins bot

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: