Add _NET_ACTIVE_WINDOW update in client_focus()
This commit is contained in:
parent
d015dc2904
commit
5cd3297e1f
@ -626,6 +626,8 @@ client_focus(struct client *c)
|
|||||||
}
|
}
|
||||||
|
|
||||||
XSetInputFocus(W->dpy, c->win, RevertToPointerRoot, CurrentTime);
|
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
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@ -134,8 +134,6 @@ ewmh_get_client_list(void)
|
|||||||
PropModeReplace, (unsigned char *)list, win_n);
|
PropModeReplace, (unsigned char *)list, win_n);
|
||||||
|
|
||||||
XFree(list);
|
XFree(list);
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user