mirror of
https://github.com/Interlisp/maiko.git
synced 2026-04-26 20:37:01 +00:00
Don't use Streams S_INPUT ioctl on MacOS
This commit is contained in:
@@ -125,9 +125,11 @@ void init_Xevent(dsp)
|
|||||||
|
|
||||||
#ifdef SYSVONLY
|
#ifdef SYSVONLY
|
||||||
#ifndef LINUX
|
#ifndef LINUX
|
||||||
|
#ifndef MACOSX
|
||||||
ioctl(ConnectionNumber(dsp->display_id)
|
ioctl(ConnectionNumber(dsp->display_id)
|
||||||
, I_SETSIG, S_INPUT); /* so we see X events fast */
|
, I_SETSIG, S_INPUT); /* so we see X events fast */
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#endif /* SYSVONLY */
|
#endif /* SYSVONLY */
|
||||||
} /*end init_Xevent */
|
} /*end init_Xevent */
|
||||||
|
|
||||||
@@ -143,9 +145,11 @@ void lisp_Xexit(dsp)
|
|||||||
{
|
{
|
||||||
#ifdef SYSVONLY
|
#ifdef SYSVONLY
|
||||||
#ifndef LINUX
|
#ifndef LINUX
|
||||||
|
#ifndef MACOSX
|
||||||
ioctl(ConnectionNumber(dsp->display_id)
|
ioctl(ConnectionNumber(dsp->display_id)
|
||||||
, I_SETSIG, 0); /* so no interrupts happen during */
|
, I_SETSIG, 0); /* so no interrupts happen during */
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#endif /* SYSVONLY */
|
#endif /* SYSVONLY */
|
||||||
|
|
||||||
XDestroySubwindows( dsp->display_id, dsp->LispWindow );
|
XDestroySubwindows( dsp->display_id, dsp->LispWindow );
|
||||||
|
|||||||
Reference in New Issue
Block a user