clean up a few xu_* functions to just accept what they need (Window).

ok oga@
This commit is contained in:
okan
2010-04-11 16:51:26 +00:00
parent 46c9b5cbae
commit b12e6fc5cd
4 changed files with 12 additions and 13 deletions

View File

@@ -426,7 +426,7 @@ group_autogroup(struct client_ctx *cc)
if (cc->app_class == NULL || cc->app_name == NULL)
return;
if (xu_getprop(cc, _NET_WM_DESKTOP, XA_CARDINAL,
if (xu_getprop(cc->win, _NET_WM_DESKTOP, XA_CARDINAL,
1, (unsigned char **)&grpno) > 0) {
if (*grpno == 0xffffffff)
no = 0;