chore: auto-commit (2 archivos)

- .claude/settings.local.json
- cpp/framework/app_base.cpp

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-23 17:49:47 +02:00
parent 7619347be8
commit 3289c67986
2 changed files with 21 additions and 2 deletions
+3 -2
View File
@@ -8,7 +8,8 @@
}, },
"enabledMcpjsonServers": [ "enabledMcpjsonServers": [
"registry", "registry",
"jupyter" "jupyter",
"orchestrator"
], ],
"hooks": { "hooks": {
"PreToolUse": [ "PreToolUse": [
@@ -65,4 +66,4 @@
} }
] ]
} }
} }
+18
View File
@@ -114,6 +114,24 @@ static LRESULT CALLBACK fn_subclass_wndproc(HWND hwnd, UINT msg, WPARAM wp, LPAR
case WM_EXITSIZEMOVE: case WM_EXITSIZEMOVE:
g_in_sizemove.store(false, std::memory_order_release); g_in_sizemove.store(false, std::memory_order_release);
break; break;
case WM_SYSKEYDOWN:
// Alt+Enter would otherwise toggle a borderless-fullscreen mode
// (driven by some GPU drivers' OpenGL/Vulkan hotkey, or by
// DefWindowProc on certain window styles). We never want that:
// these are docked tool windows, not games. Consume the keystroke
// so the window stays in its normal decorated state. Every other
// Alt+key combo chains through to GLFW/DefWindowProc untouched.
if (wp == VK_RETURN) {
return 0;
}
break;
case WM_SYSCHAR:
// Swallow the system "ding" beep that the suppressed Alt+Enter
// above would otherwise trigger via the default char handler.
if (wp == VK_RETURN) {
return 0;
}
break;
case WM_LBUTTONDOWN: case WM_LBUTTONDOWN:
// Alt + LMB anywhere on the window initiates a native modal MOVE // Alt + LMB anywhere on the window initiates a native modal MOVE
// via WM_SYSCOMMAND, SC_MOVE | HTCAPTION. Same pattern as our // via WM_SYSCOMMAND, SC_MOVE | HTCAPTION. Same pattern as our