We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b3a0a2 commit b47a777Copy full SHA for b47a777
src/FloatingDockContainer.cpp
@@ -334,6 +334,13 @@ void CFloatingDockContainer::moveEvent(QMoveEvent *event)
334
335
case DraggingFloatingWidget:
336
d->updateDropOverlays(QCursor::pos());
337
+#ifdef Q_OS_MACOS
338
+ // In OSX when hiding the DockAreaOverlay the application would set
339
+ // the main window as the active window for some reason. This fixes
340
+ // that by resetting the active window to the floating widget after
341
+ // updating the overlays.
342
+ QApplication::setActiveWindow(this);
343
+#endif
344
break;
345
default:
346
0 commit comments