summaryrefslogtreecommitdiff
path: root/src/XUngrDvK.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XUngrDvK.c')
-rw-r--r--src/XUngrDvK.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/XUngrDvK.c b/src/XUngrDvK.c
index 26a5841..e9e4cdf 100644
--- a/src/XUngrDvK.c
+++ b/src/XUngrDvK.c
@@ -61,16 +61,16 @@ SOFTWARE.
#include "XIint.h"
int
-XUngrabDeviceKey (dpy, dev, key, modifiers, modifier_dev, grab_window)
- register Display *dpy;
- XDevice *dev;
- unsigned int key; /* CARD8 */
- unsigned int modifiers; /* CARD16 */
- XDevice *modifier_dev;
- Window grab_window;
- {
- register xUngrabDeviceKeyReq *req;
- XExtDisplayInfo *info = XInput_find_display (dpy);
+XUngrabDeviceKey(dpy, dev, key, modifiers, modifier_dev, grab_window)
+ register Display *dpy;
+ XDevice *dev;
+ unsigned int key; /* CARD8 */
+ unsigned int modifiers; /* CARD16 */
+ XDevice *modifier_dev;
+ Window grab_window;
+{
+ register xUngrabDeviceKeyReq *req;
+ XExtDisplayInfo *info = XInput_find_display(dpy);
LockDisplay(dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
@@ -90,4 +90,4 @@ XUngrabDeviceKey (dpy, dev, key, modifiers, modifier_dev, grab_window)
UnlockDisplay(dpy);
SyncHandle();
return (Success);
- }
+}