summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-16 22:17:37 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-16 22:17:37 -0700
commit6b43ec8acc05d25f8c9338dfe9400542e6ecbdf9 (patch)
tree0ab3b59d9437c06defd776930bbed60675bc414a
parentc40322e1987a728abb6c7392476d80f195481f92 (diff)
Strip trailing whitespace
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' git diff -w & git diff -b show no diffs from this change Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--Makefile.am2
-rw-r--r--man/Xevie.man10
-rw-r--r--src/Makefile.am2
-rw-r--r--src/Xevie.c8
4 files changed, 11 insertions, 11 deletions
diff --git a/Makefile.am b/Makefile.am
index 84b4b8f..9d3b62a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,7 +4,7 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = xevie.pc
MAINTAINERCLEANFILES = ChangeLog INSTALL
-EXTRA_DIST = xevie.pc.in
+EXTRA_DIST = xevie.pc.in
.PHONY: ChangeLog INSTALL
diff --git a/man/Xevie.man b/man/Xevie.man
index 01220f7..08cffc1 100644
--- a/man/Xevie.man
+++ b/man/Xevie.man
@@ -31,7 +31,7 @@
Xevie \- X Event Interception Extension (XEvIE)
.SH SYNTAX
\&#include <X11/extensions/Xevie.h>
-.nf
+.nf
.sp
Status XevieQueryVersion \^(\^Display *\fIdpy\fP,
int *\fImajor_versionp\fP,
@@ -60,7 +60,7 @@ XEVIE_MODIFIED or XEVIE_UNMODIFIED - whether the Xevie client
has changed or synthesised this event.
.SH DESCRIPTION
-.B X Event Interception Extension (XEvIE)
+.B X Event Interception Extension (XEvIE)
is designed for users who need to intercept all the Keyboard and Mouse events.
Programs can determine which events should be forwarded to other clients and
modify the events if necessary.
@@ -69,13 +69,13 @@ modify the events if necessary.
.SH FUNCTIONS
.B XevieQueryVersion
-The XevieQueryVersion function returns the major and minor protocol version
+The XevieQueryVersion function returns the major and minor protocol version
numbers supported by the server.
XevieQueryVersion returns True if success, otherwise, it returns False.
.B XevieStart
The XevieStart function requests that the X server enable the XEvIE extension.
-Once XEvIE is successfully enabled, all the XevieSelectInput specified events
+Once XEvIE is successfully enabled, all the XevieSelectInput specified events
will be sent to the client which has enabled XEvIE.
If XKB or AccessX is enabled, the events that are sent to the XEvIE clients
are XKB/AccessX processed (filtered) ones.
@@ -89,7 +89,7 @@ Once XEvIE is disabled successfully, the X server stops sending events to the
XEvIE client.
.B XevieSelectInput
-The XevieSelectInput function requests that the X server reports the keyboard
+The XevieSelectInput function requests that the X server reports the keyboard
and pointer events associated with the specified event mask.
By default, X will report KeyPress, KeyRelease, ButtonPress, ButtonRelease
and MotionNotify events.
diff --git a/src/Makefile.am b/src/Makefile.am
index 7c5a8ae..1664d31 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -11,7 +11,7 @@ INCLUDES = -I$(top_srcdir)/include
libXevie_la_LDFLAGS = -version-number 1:0:0 -no-undefined
libXevieincludedir = $(includedir)/X11/extensions
-libXevieinclude_HEADERS = $(top_srcdir)/include/X11/extensions/Xevie.h
+libXevieinclude_HEADERS = $(top_srcdir)/include/X11/extensions/Xevie.h
if LINT
ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
diff --git a/src/Xevie.c b/src/Xevie.c
index 2af70b0..c91ef5e 100644
--- a/src/Xevie.c
+++ b/src/Xevie.c
@@ -107,7 +107,7 @@ XevieQueryVersion(
return True;
}
-Status
+Status
XevieStart(
Display* dpy)
{
@@ -117,7 +117,7 @@ XevieStart(
XextCheckExtension(dpy, info, xevie_extension_name, False);
- major_opcode = info->codes->major_opcode;
+ major_opcode = info->codes->major_opcode;
LockDisplay(dpy);
GetReq(XevieStart, req);
req->reqType = major_opcode;
@@ -136,7 +136,7 @@ XevieEnd(Display *dpy)
xXevieEndReply rep;
xXevieEndReq *req;
- XextCheckExtension (dpy, info, xevie_extension_name, False);
+ XextCheckExtension (dpy, info, xevie_extension_name, False);
LockDisplay(dpy);
GetReq(XevieEnd, req);
@@ -185,7 +185,7 @@ XevieSelectInput(
req->reqType = major_opcode;
req->xevieReqType = X_XevieSelectInput;
req->event_mask = event_mask;
- xevie_mask = event_mask;
+ xevie_mask = event_mask;
if (_XReply(dpy, (xReply *)&rep, 0, xFalse)) {
}
UnlockDisplay(dpy);