wmacpi: Bump to version 2.2a1.

Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2007 January 10 2.2a1
	Added a patch from Patrice Dumas to support newer versions of
	libdockapp.

	Updated email address in AUTHORS and manpages.
This commit is contained in:
Doug Torrance 2014-08-18 17:56:26 -05:00 committed by Carlos R. Mafra
parent 82eb5a6035
commit ea8b68a3ce
4 changed files with 17 additions and 4 deletions

View file

@ -1,4 +1,4 @@
Simon Fowler <simon@dreamcraft.com.au>
Simon Fowler <simon@himi.or>
Complete rewriting of the code from wmacpi-1.34.
timecop

View file

@ -1,3 +1,9 @@
2007 January 10 2.2a1
Added a patch from Patrice Dumas to support newer versions of
libdockapp.
Updated email address in AUTHORS and manpages.
2005 February 2 2.1
Finalised libdockapp-0.5.0 port - no changes from 2.1rc1.

View file

@ -156,10 +156,10 @@ Display help.
.SH AUTHOR
.B wmacpi
was originally written by Tim Copperfield <timecop@japan.co.jp>, then
completely rewritten after 1.34 by Simon Fowler <simon@dreamcraft.com.au>.
completely rewritten after 1.34 by Simon Fowler <simon@himi.org>.
.PP
This manual page was originally written by Simon Richter
<sjr@debian.org> for the Debian GNU/Linux system, and then updated by
Simon Fowler.
.br
Last modification by Simon Fowler <simon@dreamcraft.com.au>, 2004-08-15.
Last modification by Simon Fowler <simon@himi.org>, 2007-01-10.

View file

@ -137,7 +137,14 @@ static void redraw_window(void)
static void new_window(char *display, char *name, int argc, char **argv)
{
/* Initialise the dockapp window and appicon */
DAInitialize(display, name, 64, 64, argc, argv);
/* we don't want libdocapp to parse the command line, but we have to
initialize it with DAParseArguments, so we set argc to 1 */
DAParseArguments(1, argv, NULL, 0,
"help option done", "version option done");
/* deprecated
DAInitialize(display, name, 64, 64, argc, argv); */
DAOpenDisplay(display, argc, argv);
DACreateIcon(name, 64, 64, argc, argv);
dockapp->display = DADisplay;
dockapp->win = DAWindow;