Fixed double-click on the window border behaviour.

It incorrectly triggered the titlebar double-click action.

svn path=/trunk/kdebase/kwin/; revision=293942
This commit is contained in:
Luciano Montanaro 2004-03-06 15:21:14 +00:00
parent ff081c36a0
commit 4b28eb82db

View file

@ -1191,9 +1191,11 @@ void B2Titlebar::paintEvent(QPaintEvent *)
}
}
void B2Titlebar::mouseDoubleClickEvent( QMouseEvent * )
void B2Titlebar::mouseDoubleClickEvent(QMouseEvent *e)
{
client->titlebarDblClickOperation();
if (e->y() < height()) {
client->titlebarDblClickOperation();
}
}
void B2Titlebar::mousePressEvent( QMouseEvent * e )