commits
When reacting to a XDevicePresenceNotifyEvent and snooping on all
devices, this can (sometimes?) cause a bunch of duplicate
XDevicePresenceNotifyEvents to show up, which then puts us into an
infinite loop of snooping and reacting to these events.
Store the serial of the event and ignore any duplicates.
Might fix #48.
* Add a command line argument `-a` to *always* hide mouse cursor
* Add description for `-a` argument into the man page
Makefile: only use DESTDIR in install rule.
DESTDIR should only override the overall root of the installation.
Remove $(DESTDIR) reference from definitions of BINDIR and MANDIR.
Prefix the references of BINDIR and MANDIR with DESTDIR in the
install rule. This way PREFIX, BINDIR, and MANDIR can all be set
independently without overriding the installation root of DESTDIR.
See the following link for more information:
https://stackoverflow.com/questions/13950642/why-does-a-function-with-no-parameters-compared-to-the-actual-function-definiti
It's already being used in one other place, so might as well be
consistent. Besides that, it saves lines and we don't have
to manually prepend __progname to the error string.
Fix the following `mandoc -Tlint -Wall` warnings:
WARNING: lower case character in document title: Dt xbanish
WARNING: missing -width in -tag list, using 8n: Bl -tag
WARNING: cannot parse date, using it verbatim: $Mdocdate: July 21, 2014$
When $Mdocdate$ is used in .Dd, the comma is apparently supposed to be
ommitted, otherwise the output looks like this:
OpenBSD 5.7 $Mdocdate: July 21, 2014$ OpenBSD 5.7
required to see input on things like firefox and xombrero
Right now, only lower case names are supported, I shall change that.
When debug is enabled, ignored keystrokes are mentioned.
fixes problem where xbanish is launched before the window manager
and never receives any events
prevents XFree trying to free junk in the error path
When reacting to a XDevicePresenceNotifyEvent and snooping on all
devices, this can (sometimes?) cause a bunch of duplicate
XDevicePresenceNotifyEvents to show up, which then puts us into an
infinite loop of snooping and reacting to these events.
Store the serial of the event and ignore any duplicates.
Might fix #48.
DESTDIR should only override the overall root of the installation.
Remove $(DESTDIR) reference from definitions of BINDIR and MANDIR.
Prefix the references of BINDIR and MANDIR with DESTDIR in the
install rule. This way PREFIX, BINDIR, and MANDIR can all be set
independently without overriding the installation root of DESTDIR.
Fix the following `mandoc -Tlint -Wall` warnings:
WARNING: lower case character in document title: Dt xbanish
WARNING: missing -width in -tag list, using 8n: Bl -tag
WARNING: cannot parse date, using it verbatim: $Mdocdate: July 21, 2014$
When $Mdocdate$ is used in .Dd, the comma is apparently supposed to be
ommitted, otherwise the output looks like this:
OpenBSD 5.7 $Mdocdate: July 21, 2014$ OpenBSD 5.7