~townsend/unity/fix-lp1240595

Viewing all changes in revision 3584.

  • Committer: Tarmac
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2013-10-24 16:06:39 UTC
  • mfrom: (3566.5.8 minimize-animations-fix)
  • Revision ID: tarmac-20131024160639-07xsaphb9dqwxw5f
Invalidate the Icon Centers when the monitor layout changes, so we make sure that if an icon center is set, then the icon is available on that monitor.
Added GetCenterForMonitor that allows to retrieve the nearest valid icon center for a given monitor, and in this way we can get the best icon that can handle a window minimization. Fixes: https://bugs.launchpad.net/bugs/767752.

Approved by Brandon Schaefer, PS Jenkins bot.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: