From 5669b778e5426a75b50fcd63deaba022c25ab5bc Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 28 Apr 2010 23:48:46 +0000 Subject: 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 --- kicker/kicker/core/extensionmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kicker') 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); -- cgit v1.2.3