aboutsummaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-14 14:01:12 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-14 14:01:12 +0100
commit3ce8c9f33844a995e79329978db9d2cd3981e032 (patch)
tree58c918da4f17a1d81440cc97f6e031fd3938a58a /event.c
parent0d095ae2ff0e8d703e4a8c9a20cd061c4bdcc6e2 (diff)
downloaddwm-3ce8c9f33844a995e79329978db9d2cd3981e032.tar.gz
added ban() which takes care than a banned window is not banned again... (this reduces the overall ConfigureNotify's to clients)
Diffstat (limited to 'event.c')
-rw-r--r--event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/event.c b/event.c
index bf69d9e..8c8b997 100644
--- a/event.c
+++ b/event.c
@@ -189,7 +189,7 @@ configurerequest(XEvent *e) {
configure(c);
resize(c, False);
if(!isvisible(c))
- XMoveWindow(dpy, c->win, c->x + 2 * sw, c->y);
+ ban(c);
}
else
configure(c);
remember that computers suck.