KNF, no binary change.
From Pierre Riteau. Thanks!
This commit is contained in:
6
grab.c
6
grab.c
@@ -292,8 +292,7 @@ grab_label(struct client_ctx *cc)
|
|||||||
XMapRaised(X_Dpy, sc->searchwin);
|
XMapRaised(X_Dpy, sc->searchwin);
|
||||||
|
|
||||||
XGetInputFocus(X_Dpy, &focuswin, &focusrevert);
|
XGetInputFocus(X_Dpy, &focuswin, &focusrevert);
|
||||||
XSetInputFocus(X_Dpy, sc->searchwin,
|
XSetInputFocus(X_Dpy, sc->searchwin, RevertToPointerRoot, CurrentTime);
|
||||||
RevertToPointerRoot, CurrentTime);
|
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
XMaskEvent(X_Dpy, LabelMask, &e);
|
XMaskEvent(X_Dpy, LabelMask, &e);
|
||||||
@@ -349,8 +348,7 @@ grab_label(struct client_ctx *cc)
|
|||||||
}
|
}
|
||||||
|
|
||||||
out:
|
out:
|
||||||
XSetInputFocus(X_Dpy, focuswin,
|
XSetInputFocus(X_Dpy, focuswin, focusrevert, CurrentTime);
|
||||||
focusrevert, CurrentTime);
|
|
||||||
XUnmapWindow(X_Dpy, sc->searchwin);
|
XUnmapWindow(X_Dpy, sc->searchwin);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user