1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-13 23:27:12 +00:00

Don't use Streams S_INPUT ioctl on MacOS

This commit is contained in:
Nick Briggs 2017-05-24 15:29:44 -07:00
parent 552bb8e1dc
commit 52f025bb43

View File

@ -125,9 +125,11 @@ void init_Xevent(dsp)
#ifdef SYSVONLY
#ifndef LINUX
#ifndef MACOSX
ioctl(ConnectionNumber(dsp->display_id)
, I_SETSIG, S_INPUT); /* so we see X events fast */
#endif
#endif
#endif /* SYSVONLY */
} /*end init_Xevent */
@ -143,9 +145,11 @@ void lisp_Xexit(dsp)
{
#ifdef SYSVONLY
#ifndef LINUX
#ifndef MACOSX
ioctl(ConnectionNumber(dsp->display_id)
, I_SETSIG, 0); /* so no interrupts happen during */
#endif
#endif
#endif /* SYSVONLY */
XDestroySubwindows( dsp->display_id, dsp->LispWindow );