summary refs log tree commit diff
path: root/grab.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 /grab.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 'grab.c')
-rw-r--r--grab.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/grab.c b/grab.c
index 724981e..d488394 100644
--- a/grab.c
+++ b/grab.c
@@ -292,8 +292,7 @@ grab_label(struct client_ctx *cc)
 	XMapRaised(X_Dpy, sc->searchwin);
 
 	XGetInputFocus(X_Dpy, &focuswin, &focusrevert);
-	XSetInputFocus(X_Dpy, sc->searchwin,
-	    RevertToPointerRoot, CurrentTime);
+	XSetInputFocus(X_Dpy, sc->searchwin, RevertToPointerRoot, CurrentTime);
 
 	for (;;) {
 		XMaskEvent(X_Dpy, LabelMask, &e);
@@ -301,7 +300,7 @@ grab_label(struct client_ctx *cc)
 		switch (e.type) {
 		case KeyPress:
 			if (input_keycodetrans(e.xkey.keycode, e.xkey.state,
-				&ctl, &chr, 0) < 0)
+			    &ctl, &chr, 0) < 0)
 				continue;
 
 			switch (ctl) {
@@ -348,9 +347,8 @@ grab_label(struct client_ctx *cc)
 		}
 	}
 
- out:
-	XSetInputFocus(X_Dpy, focuswin,
-	    focusrevert, CurrentTime);
+out:
+	XSetInputFocus(X_Dpy, focuswin, focusrevert, CurrentTime);
 	XUnmapWindow(X_Dpy, sc->searchwin);
 }