Fixed regression where cursor wasn't locked to screen when a mouse

button is down on win32.
This commit is contained in:
crs
2004-05-01 08:56:24 +00:00
parent 4d2d4a2171
commit dcfe49ef48
2 changed files with 45 additions and 32 deletions

View File

@@ -157,6 +157,9 @@ private:
// map a button event to a button ID
ButtonID mapButtonFromEvent(WPARAM msg, LPARAM button) const;
// map a button event to a press (true) or release (false)
bool mapPressFromEvent(WPARAM msg, LPARAM button) const;
// fix the key state, synthesizing fake key releases for keys
// that aren't down anymore.
void fixKeys();