mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Remove ClearState log
This commit is contained in:
parent
b910ebc014
commit
4be635be67
2 changed files with 9 additions and 7 deletions
|
|
@ -439,7 +439,7 @@ internal sealed unsafe class DalamudIme : IDisposable, IServiceType
|
|||
ref var textState = ref TextState;
|
||||
textState.Stb.Cursor = textState.Stb.SelectStart = textState.Stb.SelectEnd;
|
||||
|
||||
Log.Information($"{nameof(this.ClearState)}");
|
||||
// Log.Information($"{nameof(this.ClearState)}");
|
||||
}
|
||||
|
||||
private void LoadCand(HIMC hImc)
|
||||
|
|
|
|||
|
|
@ -112,19 +112,21 @@ internal sealed class WndProcHookManager : IServiceType, IDisposable
|
|||
|
||||
if (uMsg == this.unhookSelfMessage)
|
||||
{
|
||||
// Remove self from the chain.
|
||||
SetWindowLongPtrW(hwnd, GWLP.GWLP_WNDPROC, nextProc);
|
||||
lock (this.wndProcNextDict)
|
||||
this.wndProcNextDict.Remove(hwnd);
|
||||
|
||||
// Even though this message is dedicated for our processing,
|
||||
// satisfy the expectations by calling the next window procedure.
|
||||
return CallWindowProcW(
|
||||
var rv = CallWindowProcW(
|
||||
(delegate* unmanaged<HWND, uint, WPARAM, LPARAM, LRESULT>)nextProc,
|
||||
hwnd,
|
||||
uMsg,
|
||||
wParam,
|
||||
lParam);
|
||||
|
||||
// Remove self from the chain.
|
||||
SetWindowLongPtrW(hwnd, GWLP.GWLP_WNDPROC, nextProc);
|
||||
lock (this.wndProcNextDict)
|
||||
this.wndProcNextDict.Remove(hwnd);
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
||||
var arg = new WndProcOverrideEventArgs(hwnd, ref uMsg, ref wParam, ref lParam);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue