kwin/tabbox
Martin Gräßlin 0c92e1f30c Use translucent/dialogs/background elements where possible
In effects it's obvious that compositing is enabled, so specifying the
translucent element is no problem.

In tabbox a context property "compositing" is injected which decides
whether "translucent" or "opaque" elements should be used. Here the
translucent elements are only used if the Blur effect is available - for
this a new Effect::Feature Blur is introduced and in addition it is
tested whether the theme provides the translucent element.

Also the masking is adjusted to ensure that only the shadow is not
blurred.

Reason for this change is that Plasma theme seems not always to pick up
whether compositing is used when used from inside KWin. It does not cover
the Desktop Change OSD which uses PlasmaCore.Dialog and there we cannot
(yet) inject that we use compositing.

Overall I'm quite unhappy with this patch and I do hope we can fix it in
the proper place in the lifetime of 4.10 and revert this patch.

CCBUG: 311995
REVIEW: 108438
2013-01-30 15:14:54 +01:00
..
qml Use translucent/dialogs/background elements where possible 2013-01-30 15:14:54 +01:00
tests add/improve TESTNAME in kde4_add_unit_test() 2012-11-16 14:37:01 +01:00
clientmodel.cpp Escape HTML command in window caption before passing to QML 2012-11-27 20:57:42 +01:00
clientmodel.h Use smart pointers to protect access to TabBoxClient 2012-05-22 18:37:41 +02:00
CMakeLists.txt Verify pointer is valid when calculating the longest caption 2012-07-22 19:23:36 +02:00
declarative.cpp Use translucent/dialogs/background elements where possible 2013-01-30 15:14:54 +01:00
declarative.h Add proper key navigation to layout based window switchers 2012-03-25 11:55:35 +02:00
desktopmodel.cpp Remove outdated options from TabBoxConfig 2012-08-10 16:57:25 +02:00
desktopmodel.h
kwinwindowswitcher.desktop SVN_SILENT made messages (.desktop file) 2013-01-07 08:11:48 +01:00
tabbox.cpp special tab/backtab handling to align kglobalaccel 2012-12-14 22:36:39 +01:00
tabbox.h Ensure that the start Client to build up the ClientModel is in the Focus Chain 2012-09-05 20:55:07 +02:00
tabboxconfig.cpp Merge branch 'KDE/4.9' 2012-08-11 22:13:59 +02:00
tabboxconfig.h Remove outdated options from TabBoxConfig 2012-08-10 16:57:25 +02:00
tabboxhandler.cpp Verify QVariant is valid before casting to Client* 2012-08-17 17:48:15 +02:00
tabboxhandler.h Ensure that the start Client to build up the ClientModel is in the Focus Chain 2012-09-05 20:55:07 +02:00