summaryrefslogtreecommitdiffstats
path: root/kdecore/kapplication.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-15 01:49:14 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-15 01:49:14 +0000
commit79a4d6dfad2786fb412167638c5beb4af614b9e8 (patch)
tree5a764aab2aaa4a7485895662a59d22a39bcdaee6 /kdecore/kapplication.h
parent7d7b2c04e147670ed65c5be42de7b7b131122856 (diff)
downloadtdelibs-79a4d6dfad2786fb412167638c5beb4af614b9e8.tar.gz
tdelibs-79a4d6dfad2786fb412167638c5beb4af614b9e8.zip
Use true transparency when drawing menu shadows for apps that support ARGB visuals
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1247204 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kapplication.h')
-rw-r--r--kdecore/kapplication.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kdecore/kapplication.h b/kdecore/kapplication.h
index ee0d48f02..c16f105f2 100644
--- a/kdecore/kapplication.h
+++ b/kdecore/kapplication.h
@@ -914,9 +914,10 @@ public:
* Note that calling this method will probably cause the screen to flicker.
* @see isCompositionManagerAvailable()
* @param force_available If set, force TDE to assume a composition manager is available
+ * @param available Whether or not the composition manager is available (only used if force_available is TRUE)
* @return whether the composition manager is enabled
*/
- bool detectCompositionManagerAvailable(bool force_available=false);
+ bool detectCompositionManagerAvailable(bool force_available=false, bool available=true);
/**
* @internal