vcl/source/window/brdwin.cxx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-)
New commits: commit 9b5ea3a1347f387416a426fee925619d08834cd5 Author: Caolán McNamara <caol...@redhat.com> Date: Tue Jan 3 14:24:42 2017 +0000 drop else branch of if (true) Change-Id: Id11f005f32a0c66e9584c90aebb6943ed41acaf0 diff --git a/vcl/source/window/brdwin.cxx b/vcl/source/window/brdwin.cxx index c017bbf..2ba59ed 100644 --- a/vcl/source/window/brdwin.cxx +++ b/vcl/source/window/brdwin.cxx @@ -852,15 +852,8 @@ bool ImplStdBorderWindowView::MouseButtonDown( const MouseEvent& rMEvt ) if ( pBorderWindow->ImplGetClientWindow()->IsSystemWindow() ) { SystemWindow* pClientWindow = static_cast<SystemWindow*>(pBorderWindow->ImplGetClientWindow()); - if ( true /*pBorderWindow->mbDockBtn*/ ) // always perform docking on double click, no button required - pClientWindow->TitleButtonClick( TitleButton::Docking ); - else if ( pBorderWindow->GetStyle() & WB_ROLLABLE ) - { - if ( pClientWindow->IsRollUp() ) - pClientWindow->RollDown(); - else - pClientWindow->RollUp(); - } + // always perform docking on double click, no button required + pClientWindow->TitleButtonClick( TitleButton::Docking ); } } }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits