Add _NET_ACTIVE_WINDOW update in client_focus()
This commit is contained in:
@@ -626,6 +626,8 @@ client_focus(struct client *c)
|
||||
}
|
||||
|
||||
XSetInputFocus(W->dpy, c->win, RevertToPointerRoot, CurrentTime);
|
||||
XChangeProperty(W->dpy, W->root, W->net_atom[net_active_window], XA_WINDOW, 32,
|
||||
PropModeReplace, (unsigned char *)&c->win, 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -134,8 +134,6 @@ ewmh_get_client_list(void)
|
||||
PropModeReplace, (unsigned char *)list, win_n);
|
||||
|
||||
XFree(list);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user