Commit graph

16 commits

Author SHA1 Message Date
Doug Torrance 4f64133cbe wmload: Replace deprecated usleep with nanosleep. 2015-04-07 09:01:40 +01:00
Doug Torrance 8f06836b0f wmload: Cast data from client message event to Atom for comparison.
Fixes -Wsign-compare compiler warning.
2015-04-07 08:54:08 +01:00
Doug Torrance 04a36b3ae4 wmload: Check if Execute string is empty by testing first character.
Fixes "the address of ‘Execute’ will always evaluate as ‘true’ [-Waddress]"
warning.
2015-04-07 08:54:07 +01:00
Doug Torrance 615412876a wmload: Remove ">/dev/console" from default command to execute on click.
Otherwise, user may receive "permission denied" errors.
2015-04-07 08:54:07 +01:00
Doug Torrance 6ff9ad80f5 wmload: Include sys/wait.h.
Needed to fix "implicit declaration of function ‘waitpid’" warning
introduced after merging asload-0.9.4.
2015-04-07 08:54:07 +01:00
Doug Torrance 4aedbc5823 wmload: Remove trailing whitespace. 2015-04-07 08:54:07 +01:00
Doug Torrance d5e87688a3 wmload: Incorporate changes from asload-0.9.4.
Obtained from [1].

[1] http://tigr.net/afterstep/download/asload/asload-0.9.4.tar.gz
2015-04-07 08:54:07 +01:00
Doug Torrance eec170c034 wmload: Incorporate changes from asload-0.9.3.
Obtained from [1].

[1] http://tigr.net/afterstep/download/asload/asload-0.9.3.tar.gz
2015-04-07 08:54:07 +01:00
Doug Torrance 746c64c377 wmload: Split ChangeLog off from README.
Also remove redundant INSTALL section.
2015-04-07 08:54:07 +01:00
Doug Torrance 9f1c62ec91 wmload: Add manpage from Debian.
Slightly modified from [1].  Also modify Makefile to install manpage.

[1] http://manned.org/wmload/a214d0b5/src
2015-04-07 08:54:07 +01:00
Doug Torrance 920a4b8c3b wmload: Pass XCreateBitmapFromData a pointer to char as expected.
Previously, a pointer to an unsigned char was passed, causing a "pointer
targets differ in signedness [-Wpointer-sign]" warning.
2015-04-07 08:54:07 +01:00
Doug Torrance 6ee0dc71aa wmload: Add more missing headers.
Fixes -Wimplicit-function-declaration warnings.
2015-04-07 08:54:07 +01:00
Doug Torrance 44bf7d58e4 wmload: Add missing format arguments to fprintf().
Fixes "format not a string literal and no format arguments
[-Wformat-security]" warnings.
2015-04-07 08:54:07 +01:00
Doug Torrance b3196ffdb4 wmload: Add missing headers.
Fixes "incompatible implicit declaration of built-in function" warnings.
2015-04-07 08:54:07 +01:00
Doug Torrance b0b77c699d wmload: Replace deprecated Imakefile with Makefile.
Update INSTALL to reflect changes.
2015-04-07 08:54:07 +01:00
Doug Torrance 9694733979 wmload: Add version 0.9.2 to repository.
Obtained from [1].

[1] http://snapshot.debian.org/archive/debian-archive/20090802T004153Z/debian/pool/main/w/wmload/wmload_0.9.2.orig.tar.gz
2015-04-07 08:54:07 +01:00