Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
dwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
continued with man page
[dwm.git]
/
client.c
diff --git
a/client.c
b/client.c
index
3fb2318
..
e9075a2
100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-60,8
+60,13
@@
max(Arg *arg)
void
view(Arg *arg)
{
void
view(Arg *arg)
{
+ Client *c;
+
tsel = arg->i;
arrange(NULL);
tsel = arg->i;
arrange(NULL);
+
+ for(c = clients; c; c = next(c->next))
+ draw_client(c);
}
void
}
void
@@
-393,7
+398,6
@@
manage(Window w, XWindowAttributes *wa)
c->next = *l; /* *l == nil */
*l = c;
c->next = *l; /* *l == nil */
*l = c;
- XSetWindowBorderWidth(dpy, c->win, 1);
XMapRaised(dpy, c->win);
XMapRaised(dpy, c->title);
XGrabButton(dpy, Button1, Mod1Mask, c->win, False, ButtonPressMask,
XMapRaised(dpy, c->win);
XMapRaised(dpy, c->title);
XGrabButton(dpy, Button1, Mod1Mask, c->win, False, ButtonPressMask,
@@
-490,6
+494,7
@@
resize(Client *c, Bool inc)
if(c->maxh && c->h > c->maxh)
c->h = c->maxh;
resize_title(c);
if(c->maxh && c->h > c->maxh)
c->h = c->maxh;
resize_title(c);
+ XSetWindowBorderWidth(dpy, c->win, 1);
XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h);
e.type = ConfigureNotify;
e.event = c->win;
XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h);
e.type = ConfigureNotify;
e.event = c->win;