mirror of git://git.suckless.org/dwm
small fix
This commit is contained in:
parent
f6656fffb4
commit
f18ed615ae
1
main.c
1
main.c
|
@ -55,6 +55,7 @@ cleanup()
|
||||||
XDestroyWindow(dpy, barwin);
|
XDestroyWindow(dpy, barwin);
|
||||||
XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime);
|
XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime);
|
||||||
XSync(dpy, False);
|
XSync(dpy, False);
|
||||||
|
free(seltag);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
4
view.c
4
view.c
|
@ -41,7 +41,7 @@ reorder()
|
||||||
static Client *
|
static Client *
|
||||||
nexttiled(Client *c)
|
nexttiled(Client *c)
|
||||||
{
|
{
|
||||||
for(c = getnext(c->next); c && c->isfloat; c = getnext(c->next));
|
for(c = getnext(c); c && c->isfloat; c = getnext(c->next));
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -325,7 +325,7 @@ zoom(Arg *arg)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if((c = sel) == nexttiled(clients))
|
if((c = sel) == nexttiled(clients))
|
||||||
if(!(c = nexttiled(c)))
|
if(!(c = nexttiled(c->next)))
|
||||||
return;
|
return;
|
||||||
detach(c);
|
detach(c);
|
||||||
c->next = clients;
|
c->next = clients;
|
||||||
|
|
Loading…
Reference in New Issue