Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
small change to comments, renamed two set* functions in client.c into update*
[dwm.git]
/
client.c
diff --git
a/client.c
b/client.c
index
b6caa93
..
a794f44
100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-223,7
+223,7
@@
manage(Window w, XWindowAttributes *wa)
c->th = bh;
c->border = 0;
c->th = bh;
c->border = 0;
-
set
size(c);
+
update
size(c);
if(c->x + c->w + 2 > sw)
c->x = sw - c->w - 2;
if(c->x + c->w + 2 > sw)
c->x = sw - c->w - 2;
@@
-260,7
+260,7
@@
manage(Window w, XWindowAttributes *wa)
c->snext = stack;
stack = clients = c;
c->snext = stack;
stack = clients = c;
-
set
title(c);
+
update
title(c);
ban(c);
XMapWindow(dpy, c->win);
XMapWindow(dpy, c->twin);
ban(c);
XMapWindow(dpy, c->win);
XMapWindow(dpy, c->twin);
@@
-309,7
+309,7
@@
resize(Client *c, Bool sizehints, Corner sticky)
}
void
}
void
-
set
size(Client *c)
+
update
size(Client *c)
{
long msize;
XSizeHints size;
{
long msize;
XSizeHints size;
@@
-348,7
+348,7
@@
setsize(Client *c)
}
void
}
void
-
set
title(Client *c)
+
update
title(Client *c)
{
char **list = NULL;
int n;
{
char **list = NULL;
int n;