trenamed drawtitle into drawclient - dwm - [fork] customized build of dwm, the dynamic window manager
(HTM) git clone git://src.adamsgaard.dk/dwm
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 184471b4bbd1736794a76d2b703659de0339322b
(DIR) parent 21898c6049ea66dae34a660598684a7babec1097
(HTM) Author: Anselm R. Garbe <arg@suckless.org>
Date: Thu, 4 Jan 2007 14:17:25 +0100
renamed drawtitle into drawclient
Diffstat:
M client.c | 4 ++--
M draw.c | 4 ++--
M dwm.h | 2 +-
M event.c | 4 ++--
4 files changed, 7 insertions(+), 7 deletions(-)
---
(DIR) diff --git a/client.c b/client.c
t@@ -96,7 +96,7 @@ focus(Client *c) {
sel = c;
if(old) {
grabbuttons(old, False);
- drawtitle(old);
+ drawclient(old);
}
}
if(c) {
t@@ -104,7 +104,7 @@ focus(Client *c) {
c->snext = stack;
stack = c;
grabbuttons(c, True);
- drawtitle(c);
+ drawclient(c);
XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime);
}
else
(DIR) diff --git a/draw.c b/draw.c
t@@ -102,7 +102,7 @@ drawall(void) {
Client *c;
for(c = clients; c; c = getnext(c->next))
- drawtitle(c);
+ drawclient(c);
drawstatus();
}
t@@ -138,7 +138,7 @@ drawstatus(void) {
}
void
-drawtitle(Client *c) {
+drawclient(Client *c) {
if(c == sel && issel) {
drawstatus();
XUnmapWindow(dpy, c->twin);
(DIR) diff --git a/dwm.h b/dwm.h
t@@ -124,7 +124,7 @@ extern void unmanage(Client *c); /* destroy c */
/* draw.c */
extern void drawall(void); /* draw all visible client titles and the bar */
extern void drawstatus(void); /* draw the bar */
-extern void drawtitle(Client *c); /* draw title of c */
+extern void drawclient(Client *c); /* draw title of c */
extern unsigned long getcolor(const char *colstr); /* return color of colstr */
extern void setfont(const char *fontstr); /* set the font for DC */
extern unsigned int textw(const char *text); /* return the width of text in px*/
(DIR) diff --git a/event.c b/event.c
t@@ -236,7 +236,7 @@ expose(XEvent *e) {
if(barwin == ev->window)
drawstatus();
else if((c = getctitle(ev->window)))
- drawtitle(c);
+ drawclient(c);
}
}
t@@ -320,7 +320,7 @@ propertynotify(XEvent *e) {
if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) {
updatetitle(c);
resizetitle(c);
- drawtitle(c);
+ drawclient(c);
}
}
}