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:
parent
ff081c36a0
commit
4b28eb82db
1 changed files with 4 additions and 2 deletions
|
@ -1191,10 +1191,12 @@ void B2Titlebar::paintEvent(QPaintEvent *)
|
|||
}
|
||||
}
|
||||
|
||||
void B2Titlebar::mouseDoubleClickEvent( QMouseEvent * )
|
||||
void B2Titlebar::mouseDoubleClickEvent(QMouseEvent *e)
|
||||
{
|
||||
if (e->y() < height()) {
|
||||
client->titlebarDblClickOperation();
|
||||
}
|
||||
}
|
||||
|
||||
void B2Titlebar::mousePressEvent( QMouseEvent * e )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue