summaryrefslogtreecommitdiff
path: root/cwmcc/client_props.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-04-11 21:27:03 +0000
committerDana Jansens <danakj@orodu.net>2003-04-11 21:27:03 +0000
commit6b95bf33363f73d198da2f515f2f9f6bef2278c8 (patch)
treecba1c63dfa36730842f5c745fad973792f66902e /cwmcc/client_props.c
parent6011fe9c952b91a7f6f8b341e9a2897805bf3725 (diff)
add getting of some root properties
Diffstat (limited to 'cwmcc/client_props.c')
-rw-r--r--cwmcc/client_props.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cwmcc/client_props.c b/cwmcc/client_props.c
index e0b39419..34ae4ecd 100644
--- a/cwmcc/client_props.c
+++ b/cwmcc/client_props.c
@@ -15,6 +15,7 @@ void cwmcc_client_get_protocols(Window win, Atom **protocols)
if (!prop_get_array32(win, CWMCC_ATOM(client, wm_protocols),
CWMCC_ATOM(type, atom), protocols, &num)) {
+ g_warning("Failed to read WM_PROTOCOLS from 0x%lx", win);
*protocols = NULL;
}
}
@@ -212,7 +213,7 @@ void cwmcc_client_get_strut(Window win, int *l, int *t, int *r, int *b)
*t = data[2];
*b = data[3];
}
- g_free(l);
+ g_free(data);
}
static void convert_pixmap_to_icon(Pixmap pix, Pixmap mask,