Browse Source

some cleanup

main
Anselm R Garbe 16 years ago
parent
commit
c19d4b2930
2 changed files with 3 additions and 4 deletions
  1. +2
    -2
      config.anselm.h
  2. +1
    -2
      dwm.c

+ 2
- 2
config.anselm.h View File

@ -71,14 +71,13 @@ setanselmgeoms(void) {
moy = my;
mow = mw;
moh = mh;
updatebarpos();
}
void
anselmgeoms(const char *arg) {
setgeoms = setanselmgeoms;
setgeoms();
updatebarpos();
setlayout("[]|");
}
@ -86,6 +85,7 @@ void
defgeoms(const char *arg) {
setgeoms = setdefaultgeoms;
setgeoms();
updatebarpos();
setlayout("[]=");
}


+ 1
- 2
dwm.c View File

@ -408,6 +408,7 @@ configurenotify(XEvent *e) {
if(ev->window == root && (ev->width != sw || ev->height != sh)) {
setgeoms();
updatebarpos();
arrange();
}
}
@ -1415,8 +1416,6 @@ setdefaultgeoms(void) {
moy = wy;
mow = ww;
moh = wh;
updatebarpos();
}
void


Loading…
Cancel
Save