summary refs log tree commit diff
path: root/xutil.c
diff options
context:
space:
mode:
authoroga <oga>2008-05-15 22:18:00 +0000
committeroga <oga>2008-05-15 22:18:00 +0000
commit5034a77849c3a0ed91b67d1de65f063c9056cbc7 (patch)
treec91c89a750d267bdd603a86f14323fd420cf6c80 /xutil.c
parentec77265b87ceb612df9d02cdf0336cdf77d3099d (diff)
downloadcwm-5034a77849c3a0ed91b67d1de65f063c9056cbc7.tar.gz
cwm-5034a77849c3a0ed91b67d1de65f063c9056cbc7.tar.xz
cwm-5034a77849c3a0ed91b67d1de65f063c9056cbc7.zip
KNF, no binary change.
From Pierre Riteau. Thanks!
Diffstat (limited to 'xutil.c')
-rw-r--r--xutil.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/xutil.c b/xutil.c
index 4f80351..09c6eda 100644
--- a/xutil.c
+++ b/xutil.c
@@ -25,15 +25,15 @@ int
 xu_ptr_grab(Window win, int mask, Cursor curs)
 {
 	return (XGrabPointer(X_Dpy, win, False, mask,
-		    GrabModeAsync, GrabModeAsync,
-		    None, curs, CurrentTime) == GrabSuccess ? 0 : -1);
+	    GrabModeAsync, GrabModeAsync,
+	    None, curs, CurrentTime) == GrabSuccess ? 0 : -1);
 }
 
 int
 xu_ptr_regrab(int mask, Cursor curs)
 {
 	return (XChangeActivePointerGrab(X_Dpy, mask,
-		curs, CurrentTime) == GrabSuccess ? 0 : -1);
+	    curs, CurrentTime) == GrabSuccess ? 0 : -1);
 }
 
 void
@@ -46,8 +46,8 @@ int
 xu_btn_grab(Window win, int mask, u_int btn)
 {
 	return (XGrabButton(X_Dpy, btn, mask, win,
-		    False, ButtonMask, GrabModeAsync,
-		    GrabModeSync, None, None) == GrabSuccess ? 0 : -1);
+	    False, ButtonMask, GrabModeAsync,
+	    GrabModeSync, None, None) == GrabSuccess ? 0 : -1);
 }
 
 void
@@ -110,7 +110,7 @@ xu_getprop(struct client_ctx *cc, Atom atm, Atom type, long len, u_char **p)
 	int format;
 
 	if (XGetWindowProperty(X_Dpy, cc->win, atm, 0L, len, False, type,
-		&realtype, &format, &n, &extra, p) != Success || *p == NULL)
+	    &realtype, &format, &n, &extra, p) != Success || *p == NULL)
 		return (-1);
 
 	if (n == 0)