~azzar1/unity/scale-left-padding

Viewing all changes in revision 1830.

  • Committer: Tarmac
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2012-01-13 14:30:52 UTC
  • mfrom: (1815.1.2 unity)
  • Revision ID: tarmac-20120113143052-r9uyyanya2x8h0gv
Making unity be aware of user-invisible windows, and manage them correctly.

Fixed bug #784804, but after a discussion with Jason I followed his guidelines to get the things fixed.
Basically now user-invisible windows (i.e. the ones with the skip-taskbar flag) are ignored by unity unless they don't belong to a sticky application. In that case the application is shown as running, but clicking on it makes the application to run a new instance (while the alt+tab allows to select the user-invisible windows).
When an application as both user visible and invisible windows, clicking on the launcher icon or the alt+tab gives priority to the visible windows when bringing them to focus, while when closing all the visible windows, the application is hidden from launcher and alt+tab unless it's sticky (and in this case it behaves as explained above).
Also the user-invisible windows, never increment the count of the running windows (i.e. the launcher "pips").

Read more cases in the provided manual-tests.

This branch also fixes the management of the urgent windows, that with some latest commits were not managed anymore as they should (now they get again priority when the parent application is focused).. Fixes: https://bugs.launchpad.net/bugs/784804. Appoved by Mirco Müller.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: