mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-10 06:31:48 +00:00
mouse motion is no longer forwarded to the mod when the console is down
This commit is contained in:
parent
b7a76b6428
commit
4a7f2356ab
2 changed files with 5 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
|
||||
DD Mmm 18 - 1.50
|
||||
|
||||
chg: mouse motion is no longer forwarded to the mod when the console is down
|
||||
|
||||
chg: with 2+ monitors, having the console down will always disable input grabbing
|
||||
|
||||
chg: on Windows, a fatal error will move the early console window to the foreground
|
||||
|
|
|
@ -292,6 +292,9 @@ static void CL_KeyMove( usercmd_t *cmd )
|
|||
|
||||
void CL_MouseEvent( int dx, int dy, int time )
|
||||
{
|
||||
if ( cls.keyCatchers & KEYCATCH_CONSOLE )
|
||||
return;
|
||||
|
||||
if ( cls.keyCatchers & KEYCATCH_UI ) {
|
||||
VM_Call( uivm, UI_MOUSE_EVENT, dx, dy );
|
||||
} else if (cls.keyCatchers & KEYCATCH_CGAME) {
|
||||
|
|
Loading…
Reference in a new issue