summaryrefslogtreecommitdiffstats
path: root/kicker
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-04-28 23:48:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-04-28 23:48:46 +0000
commit5669b778e5426a75b50fcd63deaba022c25ab5bc (patch)
treef4516b2106a5b7af64701058b33078b48db37735 /kicker
parent42980db88eb93f14e24416b8cf0ba68da44c2cde (diff)
downloadtdebase-5669b778e5426a75b50fcd63deaba022c25ab5bc.tar.gz
tdebase-5669b778e5426a75b50fcd63deaba022c25ab5bc.zip
Major enhancements to desktop screen switching--now switches screens in half the time needed before!
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1120367 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker')
-rw-r--r--kicker/kicker/core/extensionmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kicker/kicker/core/extensionmanager.cpp b/kicker/kicker/core/extensionmanager.cpp
index d6342b8f9..e1c2c0c57 100644
--- a/kicker/kicker/core/extensionmanager.cpp
+++ b/kicker/kicker/core/extensionmanager.cpp
@@ -673,7 +673,7 @@ QRect ExtensionManager::workArea(int XineramaScreen, const ExtensionContainer* e
}
QRect workArea;
- if (XineramaScreen == XineramaAllScreens)
+ if ((XineramaScreen == XineramaAllScreens) || (kapp->desktop()->numScreens() < 2))
{
/* special value for all screens */
workArea = Kicker::the()->kwinModule()->workArea(list);