summaryrefslogtreecommitdiffstats
path: root/kcontrol/displayconfig/monitorworkspace.cpp
diff options
context:
space:
mode:
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)