aboutsummaryrefslogtreecommitdiffstats
path: root/group.c
diff options
context:
space:
mode:
authorokan2010-04-11 16:51:26 +0000
committerokan2010-04-11 16:51:26 +0000
commit9e65d6521af3fcd684942c774a2e30e1ad40b8bd (patch)
treeaad95d0bb3946459a31ac3fd52e0ab6a63e1eedf /group.c
parent611c1bc4a75647429fd8d4f212302334743bff02 (diff)
downloadcwm-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.c4
1 files changed, 2 insertions, 2 deletions
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 <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;