summaryrefslogtreecommitdiffstats
path: root/kcontrol/displayconfig/monitorworkspace.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-06 21:30:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-06 21:30:51 +0000
commit1246e0a69ee389910f7aa31b66dc04e177262eb4 (patch)
tree786967d091b562bff4023393acf961dfd532643d /kcontrol/displayconfig/monitorworkspace.cpp
parentcaa013c9b01cbf98005893312eea91701295f40e (diff)
downloadtdebase-1246e0a69ee389910f7aa31b66dc04e177262eb4.tar.gz
tdebase-1246e0a69ee389910f7aa31b66dc04e177262eb4.zip
Force any ICC settings to override gamma sliders
Fix application of ICC settings from displayconfig module Disallow dragging of primary monitor in displayconfig module git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1257648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/displayconfig/monitorworkspace.cpp')
-rw-r--r--kcontrol/displayconfig/monitorworkspace.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/kcontrol/displayconfig/monitorworkspace.cpp b/kcontrol/displayconfig/monitorworkspace.cpp
index b8907b71d..2b1c4a6f7 100644
--- a/kcontrol/displayconfig/monitorworkspace.cpp
+++ b/kcontrol/displayconfig/monitorworkspace.cpp
@@ -122,7 +122,8 @@ void DraggableMonitor::mouseMoveEvent(TQMouseEvent *event)
if (moveToX > maxX) moveToX = maxX;
if (moveToY > maxY) moveToY = maxY;
- move(moveToX, moveToY);
+ if (!is_primary)
+ move(moveToX, moveToY);
}
void DraggableMonitor::mouseReleaseEvent(TQMouseEvent *event)