aboutsummaryrefslogtreecommitdiffstats
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
parent92e55c7c53cb808b584982ac8f6d69112d713fab (diff)
downloaddwm-c225e1afc23e6862f9864bad3b7b11399dda36a1.tar.gz
removed NET_ACTIVE_WINDOW handling
Diffstat (limited to 'event.c')
-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)
}
static void
-clientmessage(XEvent *e)
-{
- Client *c;
- XClientMessageEvent *ev = &e->xclient;
-
- if(ev->message_type == netatom[NetActiveWindow]) {
- if((c = getclient(ev->window)) && c->tags[tsel])
- focus(c);
- }
-}
-
-static void
configurerequest(XEvent *e)
{
Client *c;
@@ -351,7 +339,6 @@ unmapnotify(XEvent *e)
void (*handler[LASTEvent]) (XEvent *) = {
[ButtonPress] = buttonpress,
- [ClientMessage] = clientmessage,
[ConfigureRequest] = configurerequest,
[DestroyNotify] = destroynotify,
[EnterNotify] = enternotify,
remember that computers suck.