diff options
Diffstat (limited to 'modules/image_io')
-rw-r--r-- | modules/image_io/pdp_glx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/image_io/pdp_glx.c b/modules/image_io/pdp_glx.c index d454de9..81ec2d9 100644 --- a/modules/image_io/pdp_glx.c +++ b/modules/image_io/pdp_glx.c @@ -247,6 +247,9 @@ static int pdp_glx_try_autocreate(t_pdp_glx *x) post("pdp_glx: autocreate window"); pdp_glx_create(x); if (!(x->x_initialized)){ +#ifdef __APPLE__ + system("/usr/bin/open /Applications/Utilities/X11.app &"); +#endif x->x_autocreate--; if (!x->x_autocreate){ post ("pdp_glx: autocreate failed %d times: disabled", PDP_OGL_AUTOCREATE_RETRY); |