linuxmint/Cinnamon — pull request #930 by autarkper (2012-07-18 07:13:05+00:00)
Title: Ensure that getTabList does not return a list having duplicates.

Works around a possible bug in display.get_tab_list, which under some circumstances (app-less, on-all-workspaces dialog on another workspace) can produce duplicates.

One thing I have noted after my pull request #838 was merged is that is possible for Expo to show duplicates. It's a very rare occurrence, but it should be worked around anyway.

How to reproduce the issue:
1) Switch to an empty workspace.
2) Click the desktop to make sure it has input focus.
3) Press CTRL+ALT+DEL to bring up the logout dialog. It should not have input focus.
4) Switch to another workspace.
5) Bring up Expo.
6) Mouse over your workspaces.

Expected behavior: There should only be one instance of the logout dialog on each workspace.
Actual behavior: There will be two instances of the logout dialog on some workspaces.