Make only left mouse on window borders move/resize windows.

BUG: 83378

svn path=/trunk/kdebase/kwin/; revision=408633
This commit is contained in:
Luboš Luňák 2005-04-29 15:14:10 +00:00
parent bb1c008e1b
commit 9c34475e4e

View file

@ -1235,7 +1235,8 @@ void Client::processDecorationButtonPress( int button, int /*state*/, int x, int
com = active ? options->commandActiveTitlebar2() : options->commandInactiveTitlebar2();
else if ( button == Button3 )
com = active ? options->commandActiveTitlebar3() : options->commandInactiveTitlebar3();
if( com != Options::MouseOperationsMenu // actions where it's not possible to get the matching
if( button == Button1
&& com != Options::MouseOperationsMenu // actions where it's not possible to get the matching
&& com != Options::MouseMinimize ) // mouse release event
{
// FRAME mouseMoveEvent( e ); shouldn't be necessary