aboutsummaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-14 22:54:09 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-14 22:54:09 +0200
commitc0705eeb65733e8c5091e47d5bdc701a0779a949 (patch)
tree0a33e58c24419ff6e12f5401e3bfd65c1e90dfa3 /event.c
parent29355bd38284ed9aec8d3ffabde61db73947c9f9 (diff)
downloaddwm-c0705eeb65733e8c5091e47d5bdc701a0779a949.tar.gz
sanitized names
Diffstat (limited to 'event.c')
-rw-r--r--event.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/event.c b/event.c
index b369ede..2e0b75f 100644
--- a/event.c
+++ b/event.c
@@ -129,7 +129,7 @@ buttonpress(XEvent *e)
else if((c = getclient(ev->window))) {
if(arrange == tiling && !c->floating)
return;
- craise(c);
+ higher(c);
switch(ev->button) {
default:
break;
@@ -225,9 +225,9 @@ expose(XEvent *e)
if(ev->count == 0) {
if(barwin == ev->window)
- draw_bar();
+ drawstatus();
else if((c = gettitle(ev->window)))
- draw_client(c);
+ drawtitle(c);
}
}
@@ -262,7 +262,7 @@ propertynotify(XEvent *e)
if((c = getclient(ev->window))) {
if(ev->atom == wm_atom[WMProtocols]) {
- c->proto = win_proto(c->win);
+ c->proto = proto(c->win);
return;
}
switch (ev->atom) {
@@ -273,12 +273,12 @@ propertynotify(XEvent *e)
arrange(NULL);
break;
case XA_WM_NORMAL_HINTS:
- update_size(c);
+ setsize(c);
break;
}
if(ev->atom == XA_WM_NAME || ev->atom == net_atom[NetWMName]) {
- update_name(c);
- draw_client(c);
+ settitle(c);
+ drawtitle(c);
}
}
}