Make only left mouse on window borders move/resize windows.
BUG: 83378 svn path=/trunk/kdebase/kwin/; revision=408633
This commit is contained in:
parent
bb1c008e1b
commit
9c34475e4e
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue