X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xaw%2Fxboard.c;h=4bca0c125fbd022cd3f9b4d8ce14f7d66866bbda;hb=0278ebc80411a20fd23303156285e55ce8d2b0a5;hp=b7cd5cc02253e6a5c52392f7edfcd6429587688b;hpb=4f09e640c512b6ae2142d7682a49ad340d7d9d8e;p=xboard.git diff --git a/xaw/xboard.c b/xaw/xboard.c index b7cd5cc..4bca0c1 100644 --- a/xaw/xboard.c +++ b/xaw/xboard.c @@ -5,7 +5,8 @@ * Massachusetts. * * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006, - * 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc. + * 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Free + * Software Foundation, Inc. * * The following terms apply to Digital Equipment Corporation's copyright * interest in XBoard: @@ -2123,6 +2124,15 @@ ManProc () } void +InfoProc () +{ + char buf[MSG_SIZ]; + snprintf(buf, sizeof(buf), "xterm -e info --directory %s --directory . -f %s &", + INFODIR, INFOFILE); + system(buf); +} + +void SetWindowTitle (char *text, char *title, char *icon) { Arg args[16];