1
0
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:
Bruce Mitchener 2021-01-26 12:05:42 +07:00 committed by GitHub
parent 4a722565ab
commit 5b0d3f8cb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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