Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
renamed updatesize into updatesizehints (thx to Sander for this hint)
[dwm.git]
/
client.c
diff --git
a/client.c
b/client.c
index
9f103c6
..
a02dda5
100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-156,7
+156,7
@@
manage(Window w, XWindowAttributes *wa) {
c->w = c->tw = wa->width;
c->h = wa->height;
c->th = bh;
c->w = c->tw = wa->width;
c->h = wa->height;
c->th = bh;
- updatesize(c);
+ updatesize
hints
(c);
if(c->x + c->w + 2 * BORDERPX > sw)
c->x = sw - c->w - 2 * BORDERPX;
if(c->x < sx)
if(c->x + c->w + 2 * BORDERPX > sw)
c->x = sw - c->w - 2 * BORDERPX;
if(c->x < sx)
@@
-256,7
+256,7
@@
resizetitle(Client *c) {
}
void
}
void
-updatesize(Client *c) {
+updatesize
hints
(Client *c) {
long msize;
XSizeHints size;
long msize;
XSizeHints size;