diff --git a/XDecorations/src/globals.h b/XDecorations/src/globals.h index 53aa4ee..88a200c 100644 --- a/XDecorations/src/globals.h +++ b/XDecorations/src/globals.h @@ -36,7 +36,7 @@ #define VERSION "0.1.9" #define _SELECTPIXMAP(a,b) (a+(2*b))//a=ONPIXMAP b=xxxOnOff - +#define MYEMAIL "keithhedger@keithhedger.darktech.org" struct objects { Pixmap* pixmap[MAXFALLINGANIMATION]; diff --git a/XDecorations/src/xdecorations.cpp b/XDecorations/src/xdecorations.cpp index 9db757f..cab1e42 100644 --- a/XDecorations/src/xdecorations.cpp +++ b/XDecorations/src/xdecorations.cpp @@ -690,6 +690,12 @@ int main(int argc,char* argv[]) //print help if(strcmp(argstr,"-help")==0) doHelp(); + if(strcmp(argstr,"-version")==0) + { + printf("XDecorations %s\n(c)2014-2015 K. D. Hedger - %s\n",VERSION,MYEMAIL); + printf("Released under the gpl-3.0 license\n\n"); + exit(0); + } } srand((int)time((long* )NULL));