summaryrefslogtreecommitdiffstats
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
parentapplied anudots [un]ban repair patch (diff)
downloaddwm-83aa110c6fabbf5f5a14b698a6ca22072cb80629.tar.gz
dwm-83aa110c6fabbf5f5a14b698a6ca22072cb80629.zip
added an creatnotify event handler
Diffstat (limited to '')
-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;
12static unsigned int nmaster = NMASTER; 12static unsigned int nmaster = NMASTER;
13 13
14static void 14static void
15ban(Client *c) {
16 if (c->isbanned)
17 return;
18 XMoveWindow(dpy, c->win, c->x + 2 * sw, c->y);
19 c->isbanned = True;
20}
21
22static void
23unban(Client *c) {
24 if (!c->isbanned)
25 return;
26 XMoveWindow(dpy, c->win, c->x, c->y);
27 c->isbanned = False;
28}
29
30static void
31tile(void) { 15tile(void) {
32 unsigned int i, n, nx, ny, nw, nh, mw, mh, tw, th; 16 unsigned int i, n, nx, ny, nw, nh, mw, mh, tw, th;
33 Client *c; 17 Client *c;