Merge branch 'Plasma/5.15'

This commit is contained in:
Vlad Zagorodniy 2019-02-18 16:27:45 +02:00
commit 58de7d6862

View file

@ -517,7 +517,7 @@ void DesktopGridEffect::windowInputMouseEvent(QEvent* e)
effects->moveWindow(windowMove, unscalePos(me->pos(), NULL) + windowMoveDiff, true, 1.0 / scale[screen]);
}
if (wasWindowMove) {
if (!effects->waylandDisplay() || (me->modifiers() & Qt::ControlModifier)) {
if (effects->waylandDisplay() && (me->modifiers() & Qt::ControlModifier)) {
wasWindowCopy = true;
effects->defineCursor(Qt::DragCopyCursor);
} else {