Handle the case when there's actually no key for 4th modifier.
svn path=/trunk/kdebase/kwin/; revision=306807
This commit is contained in:
parent
984bb69341
commit
5da0e37909
1 changed files with 1 additions and 1 deletions
|
@ -1090,7 +1090,7 @@ bool Client::buttonPressEvent( Window w, int button, int state, int x, int y, in
|
||||||
uint keyModX = (options->keyCmdAllModKey() == Qt::Key_Meta) ?
|
uint keyModX = (options->keyCmdAllModKey() == Qt::Key_Meta) ?
|
||||||
KKeyNative::modX(KKey::WIN) :
|
KKeyNative::modX(KKey::WIN) :
|
||||||
KKeyNative::modX(KKey::ALT);
|
KKeyNative::modX(KKey::ALT);
|
||||||
bool bModKeyHeld = ( state & KKeyNative::accelModMaskX()) == keyModX;
|
bool bModKeyHeld = keyModX != 0 && ( state & KKeyNative::accelModMaskX()) == keyModX;
|
||||||
|
|
||||||
if( isSplash()
|
if( isSplash()
|
||||||
&& button == Button1 && !bModKeyHeld )
|
&& button == Button1 && !bModKeyHeld )
|
||||||
|
|
Loading…
Reference in a new issue