kwin/tabbox
Martin Gräßlin c2ebd35cad Use Show desktop item instead of empty text in TabBox
If there are no windows for Alt+Tab the Show Desktop entry
is shown. This works better with both layouts and effects.
Before this change effects were not activated at all but
a fallback to the layouts was used. Concerning the layouts
some looked rather bad. E.g. Thumbnails did not show a
thumbnail but a legacy text had been shown.

When a window gets added to the empty list, the show desktop
window is removed and consequently when the last window goes
away the show desktop entry is added again.

There is a not considered corner case: if there is no desktop
window, the show desktop functionality is not available and
the behavior is unfortunately undefined. It is a corner case
as we can expect that there is always a desktop window when
using KWin. E.g. there is either Plasma Desktop or Netbook
and on PA there is always at least one window.

BUG: 260938
FIXED-IN: 4.9.0
REVIEW: 104379
2012-03-25 12:00:26 +02:00
..
qml Add proper key navigation to layout based window switchers 2012-03-25 11:55:35 +02:00
clientmodel.cpp Use Show desktop item instead of empty text in TabBox 2012-03-25 12:00:26 +02:00
clientmodel.h Use Show desktop item instead of empty text in TabBox 2012-03-25 12:00:26 +02:00
CMakeLists.txt Window Switcher layouts follow Plasma Package structure 2012-02-16 10:08:15 +01:00
declarative.cpp Use Show desktop item instead of empty text in TabBox 2012-03-25 12:00:26 +02:00
declarative.h Add proper key navigation to layout based window switchers 2012-03-25 11:55:35 +02:00
desktopmodel.cpp
desktopmodel.h
kwinwindowswitcher.desktop SVN_SILENT made messages (.desktop file) 2012-03-24 11:23:48 +01:00
tabbox.cpp Add proper key navigation to layout based window switchers 2012-03-25 11:55:35 +02:00
tabbox.h Refactor checks for inclusion of TabBoxClients in the client list 2012-03-05 20:26:35 +01:00
tabboxconfig.cpp Refactor checks for inclusion of TabBoxClients in the client list 2012-03-05 20:26:35 +01:00
tabboxconfig.h Refactor checks for inclusion of TabBoxClients in the client list 2012-03-05 20:26:35 +01:00
tabboxhandler.cpp Use Show desktop item instead of empty text in TabBox 2012-03-25 12:00:26 +02:00
tabboxhandler.h Add proper key navigation to layout based window switchers 2012-03-25 11:55:35 +02:00