summaryrefslogtreecommitdiff
path: root/screen.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-09-15 13:16:54 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-09-15 13:16:54 +0200
commit7e476fb86ba254e6fe3a916ed7b5298e432a469c (patch)
treecc8ce1467345a1643cd172b478a38e472bfcc3ec /screen.c
parent9800518ae3505e54c0e52ea3d40050f279e722d6 (diff)
moved bar-related stuff to bar.c (merged draw.c into that)
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/screen.c b/screen.c
index f793c5d..142ed56 100644
--- a/screen.c
+++ b/screen.c
@@ -273,16 +273,6 @@ tag(const char *arg) {
}
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 @@ toggleview(const char *arg) {
}
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;