diff -r ea0cef59c3a3 -r aea51354bbe6 screen.c --- a/screen.c Sat Sep 15 12:36:42 2007 +0200 +++ b/screen.c Sat Sep 15 13:16:54 2007 +0200 @@ -273,16 +273,6 @@ } void -togglebar(const char *arg) { - if(bpos == BarOff) - bpos = (BARPOS == BarOff) ? BarTop : BARPOS; - else - bpos = BarOff; - updatebarpos(); - arrange(); -} - -void togglefloating(const char *arg) { if(!sel) return; @@ -338,32 +328,6 @@ } void -updatebarpos(void) { - XEvent ev; - - wax = sx; - way = sy; - wah = sh; - waw = sw; - switch(bpos) { - default: - wah -= bh; - way += bh; - XMoveWindow(dpy, barwin, sx, sy); - break; - case BarBot: - wah -= bh; - XMoveWindow(dpy, barwin, sx, sy + wah); - break; - case BarOff: - XMoveWindow(dpy, barwin, sx, sy - bh); - break; - } - XSync(dpy, False); - while(XCheckMaskEvent(dpy, EnterWindowMask, &ev)); -} - -void view(const char *arg) { unsigned int i;