Release the mouse cursor with Esc, recapture on a client click and skip capture when a title bar click activates the window

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Valiantsin DzerakhandClaude Opus 5.5 committed 2026-10-24 08:29:49 +03:00
1 parent eb12f260ad
commit cb9ea1ae05
4 files changed
+38 -3

No files matched your search

+1
View File
@@ -19,6 +19,7 @@ void input_block(int on);
// releases the cursor around an F11 window change, (0) captures it again once the client area has its new size.
#ifdef _WIN32
int input_window_msg(HWND h, UINT m, WPARAM w, LPARAM l, LRESULT *res);
int input_cursor_released(void); // Esc or a non-client activation released the cursor (probe)
#endif
void input_cursor_suspend(int on);