diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-03-31 14:50:24 +0000 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2006-03-31 14:50:24 +0000 |
commit | f50ac4deec13dfd070715f636887e12f6301070f (patch) | |
tree | be5857de4d38d644938ad796fcfaab2c37b9f99f /src/XGrDvBut.c | |
parent | 6b055729fd0f89eedd2bf00befd8e42804f12b4a (diff) |
Mass reindent. Sorry.XORG-7_0_99_901
Diffstat (limited to 'src/XGrDvBut.c')
-rw-r--r-- | src/XGrDvBut.c | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/XGrDvBut.c b/src/XGrDvBut.c index 48381f8..fbc26ba 100644 --- a/src/XGrDvBut.c +++ b/src/XGrDvBut.c @@ -61,25 +61,25 @@ SOFTWARE. #include "XIint.h" int -XGrabDeviceButton (dpy, dev, button, modifiers, modifier_device, - grab_window, owner_events, event_count, event_list, this_device_mode, - other_devices_mode) - register Display *dpy; - XDevice *dev; - unsigned int button; /* CARD8 */ - unsigned int modifiers; /* CARD16 */ - XDevice *modifier_device; - Window grab_window; - Bool owner_events; - unsigned int event_count; - XEventClass *event_list; - int this_device_mode; - int other_devices_mode; - { +XGrabDeviceButton(dpy, dev, button, modifiers, modifier_device, + grab_window, owner_events, event_count, event_list, + this_device_mode, other_devices_mode) + register Display *dpy; + XDevice *dev; + unsigned int button; /* CARD8 */ + unsigned int modifiers; /* CARD16 */ + XDevice *modifier_device; + Window grab_window; + Bool owner_events; + unsigned int event_count; + XEventClass *event_list; + int this_device_mode; + int other_devices_mode; +{ register xGrabDeviceButtonReq *req; - XExtDisplayInfo *info = XInput_find_display (dpy); + XExtDisplayInfo *info = XInput_find_display(dpy); - LockDisplay (dpy); + LockDisplay(dpy); if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1) return (NoSuchExtension); @@ -102,13 +102,13 @@ XGrabDeviceButton (dpy, dev, button, modifiers, modifier_device, req->length += event_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 */ event_count <<= 2; - Data32 (dpy, (long *) event_list, event_count); + Data32(dpy, (long *)event_list, event_count); UnlockDisplay(dpy); SyncHandle(); return (Success); - } +} |