KNF, no binary change.

From Pierre Riteau. Thanks!
This commit is contained in:
oga
2008-05-15 22:18:00 +00:00
parent ec77265b87
commit 5034a77849
9 changed files with 28 additions and 30 deletions

10
grab.c
View File

@@ -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);
}