about summary refs log tree commit diff stats
path: root/event.c
diff options
context:
space:
mode:
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,