linuxmint/Cinnamon — pull request #1266 by autarkper (2012-10-10 15:03:57+00:00)
Title: Activate dialog of window to be activated

When a window is activated from Alt-Tab or the window list, if it has an open dialog the focus ends up on the window behind the dialog. In most cases that is wrong. This patch will activate "transient" windows belonging to the window to be activated.

How to test:
1) In gedit, bring up the Open dialog (CTRL+O).
2) Switch to some other application.
3) Click the gedit icon in the window list.

Desired behavior: The Open dialog of gedit should receive focus.
Current behavior: The gedit main window is activated and given keyboard focus behind the Open dialog.

Current status: Ready for test. The window-list part of this patch will not merge cleanly together with the alert-notifications patch.