Oops, clicking on the titlebar started drag, broken by last commit.

svn path=/trunk/kdebase/kwin/; revision=293758
This commit is contained in:
Luboš Luňák 2004-03-05 14:07:11 +00:00
parent e329c3d872
commit 458573e997

View file

@ -1224,7 +1224,7 @@ bool Client::buttonReleaseEvent( Window w, int /*button*/, int state, int x, int
XAllowEvents(qt_xdisplay(), SyncPointer, CurrentTime ); //qt_x_time);
return true;
}
if( w != moveResizeGrabWindow())
if( w != frameId() && w != decorationId() && w != moveResizeGrabWindow())
return true;
x = this->x(); // translate from grab window to local coords
y = this->y();