[PD-cvs] externals/pdp/modules/image_io pdp_glx.c,1.4,1.4.2.1

Hans-Christoph Steiner eighthave at users.sourceforge.net
Thu May 31 16:11:57 CEST 2007


Update of /cvsroot/pure-data/externals/pdp/modules/image_io
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25331

Modified Files:
      Tag: branch-v0-39-2-extended
	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.4.2.1
diff -C2 -d -r1.4 -r1.4.2.1
*** pdp_glx.c	1 Sep 2006 13:45:30 -0000	1.4
--- pdp_glx.c	31 May 2007 14:11:55 -0000	1.4.2.1
***************
*** 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){





More information about the Pd-cvs mailing list