summaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R.Garbe <arg@10ksloc.org>2006-08-08 18:12:18 +0200
committerAnselm R.Garbe <arg@10ksloc.org>2006-08-08 18:12:18 +0200
commitc225e1afc23e6862f9864bad3b7b11399dda36a1 (patch)
tree3d9f3aa63cf6044c316253b707eca35fbb07d44a /event.c
parentimplemented NET_ACTIVE_WINDOW support (diff)
downloaddwm-c225e1afc23e6862f9864bad3b7b11399dda36a1.tar.gz
dwm-c225e1afc23e6862f9864bad3b7b11399dda36a1.zip
removed NET_ACTIVE_WINDOW handling
Diffstat (limited to '')
-rw-r--r--event.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/event.c b/event.c
index c3169aa..2e4f62e 100644
--- a/event.c
+++ b/event.c
@@ -146,18 +146,6 @@ buttonpress(XEvent *e)
146} 146}
147 147
148static void 148static void
149clientmessage(XEvent *e)
150{
151 Client *c;
152 XClientMessageEvent *ev = &e->xclient;
153
154 if(ev->message_type == netatom[NetActiveWindow]) {
155 if((c = getclient(ev->window)) && c->tags[tsel])
156 focus(c);
157 }
158}
159
160static void
161configurerequest(XEvent *e) 149configurerequest(XEvent *e)
162{ 150{
163 Client *c; 151 Client *c;
@@ -351,7 +339,6 @@ unmapnotify(XEvent *e)
351 339
352void (*handler[LASTEvent]) (XEvent *) = { 340void (*handler[LASTEvent]) (XEvent *) = {
353 [ButtonPress] = buttonpress, 341 [ButtonPress] = buttonpress,
354 [ClientMessage] = clientmessage,
355 [ConfigureRequest] = configurerequest, 342 [ConfigureRequest] = configurerequest,
356 [DestroyNotify] = destroynotify, 343 [DestroyNotify] = destroynotify,
357 [EnterNotify] = enternotify, 344 [EnterNotify] = enternotify,