From c225e1afc23e6862f9864bad3b7b11399dda36a1 Mon Sep 17 00:00:00 2001 From: "Anselm R.Garbe" Date: Tue, 8 Aug 2006 18:12:18 +0200 Subject: removed NET_ACTIVE_WINDOW handling --- event.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'event.c') diff --git a/event.c b/event.c index c3169aa7..2e4f62ee 100644 --- a/event.c +++ b/event.c @@ -145,18 +145,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) { @@ -351,7 +339,6 @@ unmapnotify(XEvent *e) void (*handler[LASTEvent]) (XEvent *) = { [ButtonPress] = buttonpress, - [ClientMessage] = clientmessage, [ConfigureRequest] = configurerequest, [DestroyNotify] = destroynotify, [EnterNotify] = enternotify, -- cgit v1.2.3