diff options
author | okan | 2010-04-11 16:51:26 +0000 |
---|---|---|
committer | okan | 2010-04-11 16:51:26 +0000 |
commit | 9e65d6521af3fcd684942c774a2e30e1ad40b8bd (patch) | |
tree | aad95d0bb3946459a31ac3fd52e0ab6a63e1eedf /group.c | |
parent | 611c1bc4a75647429fd8d4f212302334743bff02 (diff) | |
download | cwm-9e65d6521af3fcd684942c774a2e30e1ad40b8bd.tar.gz |
clean up a few xu_* functions to just accept what they need (Window).
ok oga@
Diffstat (limited to 'group.c')
-rw-r--r-- | group.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 <sys/param.h> @@ -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; |