removed NET_ACTIVE_WINDOW handling
This commit is contained in:
parent
92e55c7c53
commit
c225e1afc2
4 changed files with 1 additions and 20 deletions
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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue