From 9eb7972e74934820d9f1cd4eed3eac88de041923 Mon Sep 17 00:00:00 2001 From: Michael Pollind Date: Mon, 18 Oct 2021 20:48:22 -0700 Subject: [PATCH] bugfix: main window is deactived for tabbed window preventing the use from dragging tabbed windows issue: https://github.com/o3de/o3de/issues/4658 Signed-off-by: Michael Pollind --- .../AzQtComponents/Components/FancyDocking.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Code/Framework/AzQtComponents/AzQtComponents/Components/FancyDocking.cpp b/Code/Framework/AzQtComponents/AzQtComponents/Components/FancyDocking.cpp index 7a76781cd7..99fbba065f 100644 --- a/Code/Framework/AzQtComponents/AzQtComponents/Components/FancyDocking.cpp +++ b/Code/Framework/AzQtComponents/AzQtComponents/Components/FancyDocking.cpp @@ -2790,10 +2790,12 @@ namespace AzQtComponents // a docking drag operation (e.g. popup dialog for new level), we // should cancel our drag operation because the mouse release event // will be lost since we lost focus - if (m_dropZoneState.dragging()) - { - clearDraggingState(); - } + #if !defined(AZ_PLATFORM_LINUX) + if (m_dropZoneState.dragging()) + { + clearDraggingState(); + } + #endif break; } }