[PD-cvs] externals/bbogart/popup popup.c,1.4,1.5

Guenter Geiger ggeiger at users.sourceforge.net
Sat Oct 16 22:31:55 CEST 2004


Update of /cvsroot/pure-data/externals/bbogart/popup
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27744

Modified Files:
	popup.c 
Log Message:
Found workaround for problem when minimizing windows

Index: popup.c
===================================================================
RCS file: /cvsroot/pure-data/externals/bbogart/popup/popup.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** popup.c	20 Mar 2004 23:52:48 -0000	1.4
--- popup.c	16 Oct 2004 20:31:50 -0000	1.5
***************
*** 136,139 ****
--- 136,141 ----
    
    /* Create menubutton and empty menu widget -- maybe the menu should be created elseware?*/
+   /* Seems we have to delete the widget in case it already exists */
+   sys_vgui("destroy .x%x.c.s%x\n",glist_getcanvas(glist),x);
    sys_vgui("set %xw .x%x.c.s%x ; menubutton $%xw -relief raised -background \"%s\" -text \"%s\" -direction flush -menu $%xw.menu ; menu $%xw.menu -tearoff 0\n",
  		x,canvas,x,x,x->x_colour->s_name,x->x_name->s_name,x,x);





More information about the Pd-cvs mailing list