summaryrefslogtreecommitdiffstats
path: root/kcontrol/randr
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-23 22:51:09 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-23 22:51:09 +0000
commit422e6d3a19cb512c83ae4145bb4ffb8cc491f454 (patch)
treee9d9972e92536d6e9739358353daf8c18b410137 /kcontrol/randr
parent67b84c91681a16d4e19e83c17d9679191d005039 (diff)
downloadtdebase-422e6d3a19cb512c83ae4145bb4ffb8cc491f454.tar.gz
tdebase-422e6d3a19cb512c83ae4145bb4ffb8cc491f454.zip
Further work on display configuration tool
Tool is nearly functional at this point but is still disabled pending completion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1249189 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/randr')
-rw-r--r--kcontrol/randr/krandrtray.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/kcontrol/randr/krandrtray.cpp b/kcontrol/randr/krandrtray.cpp
index ca2e6e95d..8e996e607 100644
--- a/kcontrol/randr/krandrtray.cpp
+++ b/kcontrol/randr/krandrtray.cpp
@@ -640,8 +640,9 @@ void KRandRSystemTray::slotCycleDisplays()
// resize events when switching screens, so KDE gets stuck in the old resolution
// This only seems to happen with more than one screen, so check for that condition...
if (kapp->desktop()->numScreens() > 1) {
- currentScreen()->proposeSize(GetHackResolutionParameter());
- currentScreen()->applyProposed();
+// currentScreen()->proposeSize(GetHackResolutionParameter());
+// currentScreen()->applyProposed();
+ kapp->desktop()->emitResizedSignal(currentScreenIndex());
}
currentScreen()->proposeSize(GetDefaultResolutionParameter());