removed NET_ACTIVE_WINDOW handling
This commit is contained in:
13
event.c
13
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,
|
||||
|
Reference in New Issue
Block a user