WB_MOVEABLE should not trigger tearoff mode
As any .ui based docking window gets it unconditionally, see extractDeferredBits function in builder.cxx. Change-Id: I339a72989ad09d8ea7106f5690fc950ee7ba35da
This commit is contained in:
@@ -208,7 +208,7 @@ Reference< awt::XWindow > SAL_CALL PopupWindowController::createPopupWindow()
|
||||
else
|
||||
nWinBits = pWin->GetStyle();
|
||||
|
||||
if ( nWinBits & ( WB_MOVEABLE | WB_SIZEABLE | WB_CLOSEABLE ) )
|
||||
if ( nWinBits & ( WB_SIZEABLE | WB_CLOSEABLE ) )
|
||||
eFloatFlags |= FloatWinPopupFlags::AllowTearOff;
|
||||
|
||||
pWin->EnableDocking();
|
||||
|
Reference in New Issue
Block a user