Introduction
Introduction Statistics Contact Development Disclaimer Help
trenamed drawstatus into drawbar - dwm - [fork] customized build of dwm, the dy…
git clone git://src.adamsgaard.dk/dwm
Log
Files
Refs
README
LICENSE
---
commit 9800518ae3505e54c0e52ea3d40050f279e722d6
parent 5d831eaa94e1ef91e4227298bdd5eec7b2181caf
Author: Anselm R. Garbe <[email protected]>
Date: Sat, 15 Sep 2007 12:36:42 +0200
renamed drawstatus into drawbar
Diffstat:
M client.c | 2 +-
M draw.c | 2 +-
M dwm.h | 2 +-
M event.c | 4 ++--
M main.c | 4 ++--
M screen.c | 6 +++---
6 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/client.c b/client.c
t@@ -145,7 +145,7 @@ focus(Client *c) {
grabbuttons(c, True);
}
sel = c;
- drawstatus();
+ drawbar();
if(!selscreen)
return;
if(c) {
diff --git a/draw.c b/draw.c
t@@ -49,7 +49,7 @@ textnw(const char *text, unsigned int len) {
/* extern */
void
-drawstatus(void) {
+drawbar(void) {
int i, x;
dc.x = dc.y = 0;
diff --git a/dwm.h b/dwm.h
t@@ -104,7 +104,7 @@ void updatesizehints(Client *c); /* update the size…
void updatetitle(Client *c); /* update the name of c */
/* draw.c */
-void drawstatus(void); /* draw the bar */
+void drawbar(void); /* draw the bar */
void drawtext(const char *text, unsigned long col[ColLast]); /* draw te…
unsigned int textw(const char *text); /* return the width of text in px…
diff --git a/event.c b/event.c
t@@ -245,7 +245,7 @@ expose(XEvent *e) {
if(ev->count == 0) {
if(barwin == ev->window)
- drawstatus();
+ drawbar();
}
}
t@@ -322,7 +322,7 @@ propertynotify(XEvent *e) {
if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) {
updatetitle(c);
if(c == sel)
- drawstatus();
+ drawbar();
}
}
}
diff --git a/main.c b/main.c
t@@ -326,7 +326,7 @@ main(int argc, char *argv[]) {
xerrorxlib = XSetErrorHandler(xerror);
XSync(dpy, False);
setup();
- drawstatus();
+ drawbar();
scan();
/* main event loop, also reads status text from stdin */
t@@ -359,7 +359,7 @@ main(int argc, char *argv[]) {
if(p > stext)
strncpy(stext, p + 1, sizeof stext);
}
- drawstatus();
+ drawbar();
}
while(XPending(dpy)) {
XNextEvent(dpy, &ev);
diff --git a/screen.c b/screen.c
t@@ -213,7 +213,7 @@ restack(void) {
XEvent ev;
XWindowChanges wc;
- drawstatus();
+ drawbar();
if(!sel)
return;
if(sel->isfloating || isfloating())
t@@ -255,7 +255,7 @@ setlayout(const char *arg) {
if(sel)
arrange();
else
- drawstatus();
+ drawbar();
}
void
t@@ -307,7 +307,7 @@ togglemax(const char *arg) {
}
else
resize(sel, sel->rx, sel->ry, sel->rw, sel->rh, True);
- drawstatus();
+ drawbar();
while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
}
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.