svn path=/trunk/KDE/kdebase/khotkeys/; revision=473016
This commit is contained in:
Stephan Kulow 2005-10-22 12:05:06 +00:00
parent 6c821aba01
commit b0c01d70a4

View file

@ -1133,13 +1133,8 @@ bool Client::buttonPressEvent( Window w, int button, int state, int x, int y, in
updateUserTime(); updateUserTime();
workspace()->setWasUserInteraction(); workspace()->setWasUserInteraction();
uint keyModX = (options->keyCmdAllModKey() == Qt::Key_Meta) ? uint keyModX = (options->keyCmdAllModKey() == Qt::Key_Meta) ?
#ifdef QT3_SUPPORT
KKeyNative::modX(KKey::WIN) :
KKeyNative::modX(KKey::ALT);
#else
KKeyNative::modXWin() : KKeyNative::modXWin() :
KKeyNative::modXAlt(); KKeyNative::modXAlt();
#endif
bool bModKeyHeld = keyModX != 0 && ( state & KKeyNative::accelModMaskX()) == keyModX; bool bModKeyHeld = keyModX != 0 && ( state & KKeyNative::accelModMaskX()) == keyModX;
if( isSplash() if( isSplash()