Add _NET_ACTIVE_WINDOW update in client_focus()

This commit is contained in:
Martin Duquesnoy 2012-02-04 18:53:49 +01:00
parent d015dc2904
commit 5cd3297e1f
2 changed files with 2 additions and 2 deletions

View File

@ -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
{

View File

@ -134,8 +134,6 @@ ewmh_get_client_list(void)
PropModeReplace, (unsigned char *)list, win_n);
XFree(list);
return;
}
/*