summaryrefslogtreecommitdiff
path: root/src/XSelect.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-03-31 14:50:24 +0000
committerDaniel Stone <daniel@fooishbar.org>2006-03-31 14:50:24 +0000
commitf50ac4deec13dfd070715f636887e12f6301070f (patch)
treebe5857de4d38d644938ad796fcfaab2c37b9f99f /src/XSelect.c
parent6b055729fd0f89eedd2bf00befd8e42804f12b4a (diff)
Mass reindent. Sorry.XORG-7_0_99_901
Diffstat (limited to 'src/XSelect.c')
-rw-r--r--src/XSelect.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/XSelect.c b/src/XSelect.c
index c0a8dc8..b23829a 100644
--- a/src/XSelect.c
+++ b/src/XSelect.c
@@ -61,19 +61,19 @@ SOFTWARE.
#include "XIint.h"
int
-XSelectExtensionEvent (dpy, w, event_list, count)
- register Display *dpy;
- Window w;
- XEventClass *event_list;
- int count;
- {
- register xSelectExtensionEventReq *req;
- XExtDisplayInfo *info = XInput_find_display (dpy);
-
- LockDisplay (dpy);
- if (_XiCheckExtInit(dpy,XInput_Initial_Release) == -1)
+XSelectExtensionEvent(dpy, w, event_list, count)
+ register Display *dpy;
+ Window w;
+ XEventClass *event_list;
+ int count;
+{
+ register xSelectExtensionEventReq *req;
+ XExtDisplayInfo *info = XInput_find_display(dpy);
+
+ LockDisplay(dpy);
+ if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
return (NoSuchExtension);
- GetReq(SelectExtensionEvent,req);
+ GetReq(SelectExtensionEvent, req);
req->reqType = info->codes->major_opcode;
req->ReqType = X_SelectExtensionEvent;
@@ -82,13 +82,13 @@ XSelectExtensionEvent (dpy, w, event_list, count)
req->length += count;
/* note: Data is a macro that uses its arguments multiple
- times, so "nvalues" is changed in a separate assignment
- statement */
+ * times, so "nvalues" is changed in a separate assignment
+ * statement */
count <<= 2;
- Data32 (dpy, (long *) event_list, count);
+ Data32(dpy, (long *)event_list, count);
UnlockDisplay(dpy);
SyncHandle();
return (Success);
- }
+}