From kde-commits Fri Apr 29 15:14:10 2005 From: =?utf-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Fri, 29 Apr 2005 15:14:10 +0000 To: kde-commits Subject: kdebase/kwin Message-Id: <20050429151410.D43FC629 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=111478766608809 CVS commit by lunakl: Make only left mouse on window borders move/resize windows. BUG: 83378 M +2 -1 events.cpp 1.85 --- kdebase/kwin/events.cpp #1.84:1.85 @@ -1236,5 +1236,6 @@ void Client::processDecorationButtonPres 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 {