From d0dc9e979d436a425d994b1baa5ecaa14af6c041 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Fri, 1 Mar 2002 11:11:31 +0000 Subject: [PATCH] Make Alt+left mouse move windows only when no other keyboard modifier is pressed. svn path=/trunk/kdebase/kwin/; revision=139841 --- client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.cpp b/client.cpp index 7ad89c29b6..16718a4d3b 100644 --- a/client.cpp +++ b/client.cpp @@ -409,7 +409,7 @@ bool WindowWrapper::x11Event( XEvent * e) uint keyModX = (options->keyCmdAllModKey() == Qt::Key_Meta) ? KKeyNative::modX(KKey::WIN) : KKeyNative::modX(KKey::ALT); - bool bModKeyHeld = e->xbutton.state & keyModX; + bool bModKeyHeld = ( e->xbutton.state & KKeyNative::accelModMaskX()) == keyModX; if ( ((Client*)parentWidget())->isActive() && ( options->focusPolicy != Options::ClickToFocus