patch-1.3.61 linux/scripts/tkgen.c
Next file: linux/CREDITS
Previous file: linux/scripts/lxdialog/dialog.h
Back to the patch index
Back to the overall index
-  Lines: 14
 -  Date:
Fri Feb  9 16:59:06 1996
 -  Orig file: 
v1.3.60/linux/scripts/tkgen.c
 -  Orig date: 
Wed Feb  7 15:11:46 1996
 
diff -u --recursive --new-file v1.3.60/linux/scripts/tkgen.c linux/scripts/tkgen.c
@@ -432,7 +432,11 @@
   printf("\tglobal winx; global winy\n");
   printf("\tset winx [expr [winfo x .]+30]; set winy [expr [winfo y .]+30]\n");
   printf("\twm geometry $w +$winx+$winy\n");
-  printf("\twm resizable $w no yes\n\n");
+  /*
+   *	We have a cunning plan....
+   */
+  if(access("/usr/lib/tk4.0",0)==0)
+	  printf("\twm resizable $w no yes\n\n");
   
   /*
    * Now that the whole window is in place, we need to wait for an "update"
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this