aboutsummaryrefslogtreecommitdiff
path: root/layout.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-06-04 11:50:48 +0200
committerAnselm R. Garbe <arg@suckless.org>2007-06-04 11:50:48 +0200
commit83aa110c6fabbf5f5a14b698a6ca22072cb80629 (patch)
treec79a56f48a11a72a551cf3a9a628362579d11095 /layout.c
parent5a1a2edf0e584e660e16d2e01094851e0f9161e2 (diff)
downloaddwm-83aa110c6fabbf5f5a14b698a6ca22072cb80629.tar.gz
dwm-83aa110c6fabbf5f5a14b698a6ca22072cb80629.tar.bz2
dwm-83aa110c6fabbf5f5a14b698a6ca22072cb80629.zip
added an creatnotify event handler
Diffstat (limited to 'layout.c')
-rw-r--r--layout.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/layout.c b/layout.c
index 0706c62..acf0a8e 100644
--- a/layout.c
+++ b/layout.c
@@ -12,22 +12,6 @@ static unsigned int masterw = MASTERWIDTH;
static unsigned int nmaster = NMASTER;
static void
-ban(Client *c) {
- if (c->isbanned)
- return;
- XMoveWindow(dpy, c->win, c->x + 2 * sw, c->y);
- c->isbanned = True;
-}
-
-static void
-unban(Client *c) {
- if (!c->isbanned)
- return;
- XMoveWindow(dpy, c->win, c->x, c->y);
- c->isbanned = False;
-}
-
-static void
tile(void) {
unsigned int i, n, nx, ny, nw, nh, mw, mh, tw, th;
Client *c;