Make Alt+left mouse move windows only when no other keyboard modifier is
pressed. svn path=/trunk/kdebase/kwin/; revision=139841
This commit is contained in:
parent
dd29e3723c
commit
d0dc9e979d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue