BBS:      TELESC.NET.BR
Assunto:  src/conio/win32gdi.c
De:       Deuc¨
Data:     Sat, 21 Mar 2026 20:46:07 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/95dbfeb369f2c4de0f7561e3
Modified Files:
	src/conio/win32gdi.c
Log Message:
Use GetAsyncKeyState for modifier sync on focus regain (ticket 226)

GetKeyState returns message-queue-synchronized state, which is stale
when the key-up event was delivered to another window. Switch to
GetAsyncKeyState which reads the actual hardware key state, so Ctrl
and Shift are correctly cleared when the user released them while
the browser (or other app) had focus.

Co-Authored-By: Claude Opus 4.6 (1M context) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]