Update of /cvsroot/pure-data/externals/pdp/modules/image_io In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28119
Modified Files: pdp_glx.c Log Message: on __APPLE__, open X11.app if creating the window fails the first time
Index: pdp_glx.c =================================================================== RCS file: /cvsroot/pure-data/externals/pdp/modules/image_io/pdp_glx.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** pdp_glx.c 1 Sep 2006 13:45:30 -0000 1.4 --- pdp_glx.c 31 May 2007 14:19:00 -0000 1.5 *************** *** 248,251 **** --- 248,254 ---- 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){