From 682631853c90211b64666f33318096135ecd5a60 Mon Sep 17 00:00:00 2001 From: Van Stonecypher Date: Fri, 29 Sep 2023 06:42:05 -0500 Subject: [PATCH] Removed call to CaptureMouse from LayoutFloatingWindowControl. --- .../AvalonDock/Controls/LayoutFloatingWindowControl.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/source/Components/AvalonDock/Controls/LayoutFloatingWindowControl.cs b/source/Components/AvalonDock/Controls/LayoutFloatingWindowControl.cs index f13ab5d6..83cdb4b2 100644 --- a/source/Components/AvalonDock/Controls/LayoutFloatingWindowControl.cs +++ b/source/Components/AvalonDock/Controls/LayoutFloatingWindowControl.cs @@ -349,7 +349,6 @@ internal void AttachDrag(bool onActivated = true) } else { - CaptureMouse(); var windowHandle = new WindowInteropHelper(this).Handle; var lParam = new IntPtr(((int)Left & 0xFFFF) | ((int)Top << 16)); Win32Helper.SendMessage(windowHandle, Win32Helper.WM_NCLBUTTONDOWN, new IntPtr(Win32Helper.HT_CAPTION), lParam);