CT: fix moving with all mouse buttons for ClickToFocus

svn path=/trunk/kdebase/kwin/; revision=139639
This commit is contained in:
Cristian Tibirna 2002-02-28 22:08:07 +00:00
parent 51268a6d18
commit 7d50916939

View file

@ -1433,8 +1433,7 @@ void Client::mousePressEvent( QMouseEvent * e)
if ( !wantsInput() ) // we cannot be active, use it anyway if ( !wantsInput() ) // we cannot be active, use it anyway
active = TRUE; active = TRUE;
if (active && if ((e->button() == LeftButton && options->commandActiveTitlebar1() != Options::MouseOperationsMenu) ||
(e->button() == LeftButton && options->commandActiveTitlebar1() != Options::MouseOperationsMenu) ||
(e->button() == MidButton && options->commandActiveTitlebar2() != Options::MouseOperationsMenu) || (e->button() == MidButton && options->commandActiveTitlebar2() != Options::MouseOperationsMenu) ||
(e->button() == RightButton && options->commandActiveTitlebar3() != Options::MouseOperationsMenu) ) { (e->button() == RightButton && options->commandActiveTitlebar3() != Options::MouseOperationsMenu) ) {
mouseMoveEvent( e ); mouseMoveEvent( e );