~mcintire-evan/unity/add-format-option

Viewing all changes in revision 4063.

  • Committer: CI Train Bot
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2015-12-18 00:01:14 UTC
  • mfrom: (4054.4.3 switcher-model-dynamic-detail)
  • Revision ID: ci-train-bot@canonical.com-20151218000114-6q415mfw1jlkgbfx
SwitcherModel: don't reiterate over windows all the time, keep a list and update it

Windows are computed just once, unless the window count for the selected icon
changes. DetailXids is now returning something only if detail is enabled.

When the active app windows changed, we can update the detail xids. Fixes: #1526434
Approved by: Andrea Azzarone

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: