mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-14 15:36:34 +00:00
Use FD_CLR when disabling keyboard for SUNDISPLAY. (#299)
In the old code (prior to b234064d), this was: ``` LispReadFds &= ~(1 << LispWindowFd); ``` This was inadvertently converted to `FD_SET`, but should have been `FD_CLR`.
This commit is contained in:
parent
4a722565ab
commit
5b0d3f8cb5
@ -86,7 +86,7 @@ void KB_enable(LispPTR *args) /* args[0] : ON/OFF flag
|
||||
#endif /* DOS */
|
||||
} else if (args[0] == NIL) {
|
||||
#ifdef SUNDISPLAY
|
||||
FD_SET(LispWindowFd, &LispReadFds);
|
||||
FD_CLR(LispWindowFd, &LispReadFds);
|
||||
#elif XWINDOW
|
||||
disable_Xkeyboard(currentdsp);
|
||||
#elif DOS
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user