diff options
Diffstat (limited to 'vcl/source/window/event.cxx')
-rw-r--r-- | vcl/source/window/event.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/event.cxx b/vcl/source/window/event.cxx index 4d7f3cf35284..251cddaaf048 100644 --- a/vcl/source/window/event.cxx +++ b/vcl/source/window/event.cxx @@ -110,7 +110,7 @@ bool Window::EventNotify( NotifyEvent& rNEvt ) // check for docking window // but do nothing if window is docked and locked ImplDockingWindowWrapper *pWrapper = ImplGetDockingManager()->GetDockingWindowWrapper( this ); - if (pWrapper && !( !pWrapper->IsFloatingMode() && pWrapper->IsLocked() )) + if (pWrapper && ( pWrapper->IsFloatingMode() || !pWrapper->IsLocked() )) { const bool bDockingSupportCrippled = !StyleSettings::GetDockingFloatsSupported(); |