mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
KNF, no binary change.
From Pierre Riteau. Thanks!
This commit is contained in:
parent
ec77265b87
commit
5034a77849
6
grab.c
6
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);
|
||||
@ -349,8 +348,7 @@ grab_label(struct client_ctx *cc)
|
||||
}
|
||||
|
||||
out:
|
||||
XSetInputFocus(X_Dpy, focuswin,
|
||||
focusrevert, CurrentTime);
|
||||
XSetInputFocus(X_Dpy, focuswin, focusrevert, CurrentTime);
|
||||
XUnmapWindow(X_Dpy, sc->searchwin);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user