Introduction
Introduction Statistics Contact Development Disclaimer Help
trenamed updatesize into updatesizehints (thx to Sander for this hint) - dwm - …
git clone git://src.adamsgaard.dk/dwm
Log
Files
Refs
README
LICENSE
---
commit ebd17e4827ba4ad21b8f323765abef893316436b
parent 7e59c89250c82ce45c2a3bea35b64689f9749746
Author: arg@mig29 <unknown>
Date: Mon, 1 Jan 2007 19:10:31 +0100
renamed updatesize into updatesizehints (thx to Sander for this hint)
Diffstat:
M client.c | 4 ++--
M dwm.h | 2 +-
M event.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/client.c b/client.c
t@@ -156,7 +156,7 @@ manage(Window w, XWindowAttributes *wa) {
c->w = c->tw = wa->width;
c->h = wa->height;
c->th = bh;
- updatesize(c);
+ updatesizehints(c);
if(c->x + c->w + 2 * BORDERPX > sw)
c->x = sw - c->w - 2 * BORDERPX;
if(c->x < sx)
t@@ -256,7 +256,7 @@ resizetitle(Client *c) {
}
void
-updatesize(Client *c) {
+updatesizehints(Client *c) {
long msize;
XSizeHints size;
diff --git a/dwm.h b/dwm.h
t@@ -117,7 +117,7 @@ extern void killclient(Arg *arg); /* kill c…
extern void manage(Window w, XWindowAttributes *wa); /* manage new clie…
extern void resize(Client *c, Bool sizehints, Corner sticky); /* resize c*/
extern void resizetitle(Client *c); /* resizes c->twin correctl…
-extern void updatesize(Client *c); /* update the size s…
+extern void updatesizehints(Client *c); /* update the size stru…
extern void updatetitle(Client *c); /* update the name of c */
extern void unmanage(Client *c); /* destroy c */
diff --git a/event.c b/event.c
t@@ -314,7 +314,7 @@ propertynotify(XEvent *e) {
arrange();
break;
case XA_WM_NORMAL_HINTS:
- updatesize(c);
+ updatesizehints(c);
break;
}
if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) {
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.