diff --git a/Dalamud/Interface/InterfaceManager.cs b/Dalamud/Interface/InterfaceManager.cs index 1787717d9..dbff054b9 100644 --- a/Dalamud/Interface/InterfaceManager.cs +++ b/Dalamud/Interface/InterfaceManager.cs @@ -1,9 +1,6 @@ using System; -using System.Diagnostics; -using System.Linq; using System.Runtime.InteropServices; using Dalamud.Game; -using Dalamud.Game.Internal; using Dalamud.Game.Internal.DXGI; using Dalamud.Hooking; using EasyHook; @@ -130,7 +127,7 @@ namespace Dalamud.Interface private IntPtr SetCursorDetour(IntPtr hCursor) { Log.Debug($"hCursor: {hCursor.ToInt64():X} WantCapture: {this.lastWantCapture}"); - if (this.lastWantCapture == true && ImGui_Input_Impl_Direct.Cursors != null && !ImGui_Input_Impl_Direct.Cursors.Contains(hCursor)) + if (this.lastWantCapture == true && (!scene?.IsImGuiCursor(hCursor) ?? false)) return IntPtr.Zero; return this.setCursorHook.Original(hCursor); diff --git a/lib/ImGuiScene b/lib/ImGuiScene index f1a6ea14c..1ccd799d8 160000 --- a/lib/ImGuiScene +++ b/lib/ImGuiScene @@ -1 +1 @@ -Subproject commit f1a6ea14c354ecc65d36ab212de3d3ce91b60556 +Subproject commit 1ccd799d8f264523ec5473b4ae18e87be0093653