From 9e65d6521af3fcd684942c774a2e30e1ad40b8bd Mon Sep 17 00:00:00 2001 From: okan Date: Sun, 11 Apr 2010 16:51:26 +0000 Subject: clean up a few xu_* functions to just accept what they need (Window). ok oga@ --- group.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'group.c') diff --git a/group.c b/group.c index f4716e7..0f6a9fa 100644 --- a/group.c +++ b/group.c @@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: group.c,v 1.43 2009/12/15 04:10:42 okan Exp $ + * $Id: group.c,v 1.44 2010/04/11 16:51:26 okan Exp $ */ #include @@ -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; -- cgit v1.2.3-2-gb3c3