about summary refs log tree commit diff
path: root/group.c
diff options
context:
space:
mode:
authorokan <okan>2010-04-11 16:51:26 +0000
committerokan <okan>2010-04-11 16:51:26 +0000
commitb12e6fc5cdba5683832ddaace84150ff6cc507a8 (patch)
tree5f2105b911fab56640a0327fc416bcfd63313465 /group.c
parent46c9b5cbae1fca201b2ffdcc9e7d9ff0dcd7ed27 (diff)
downloadcwm-b12e6fc5cdba5683832ddaace84150ff6cc507a8.tar.gz
cwm-b12e6fc5cdba5683832ddaace84150ff6cc507a8.tar.xz
cwm-b12e6fc5cdba5683832ddaace84150ff6cc507a8.zip
clean up a few xu_* functions to just accept what they need (Window).
ok oga@
Diffstat (limited to 'group.c')
-rw-r--r--group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/group.c b/group.c
index f71ba06..d88484b 100644
--- a/group.c
+++ b/group.c
@@ -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;