diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2010-04-11 16:51:27 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2010-04-11 16:51:27 +0000 |
commit | 30ea976dcf4ee5934ccb604dac067248e5a5c6fe (patch) | |
tree | 0c3811d34a4b8d596506905be09ca5c1333f7e69 /app/cwm/group.c | |
parent | 3e279a275a83606db30d96853bb1a40f1cb5d726 (diff) |
clean up a few xu_* functions to just accept what they need (Window).
ok oga@
Diffstat (limited to 'app/cwm/group.c')
-rw-r--r-- | app/cwm/group.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cwm/group.c b/app/cwm/group.c index f4716e72b..0f6a9fa61 100644 --- a/app/cwm/group.c +++ b/app/cwm/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; |