summary refs log tree commit diff
path: root/client.c
diff options
context:
space:
mode:
authorokan <okan>2012-07-04 18:00:13 +0000
committerokan <okan>2012-07-04 18:00:13 +0000
commit8c7964468fe82bfd557165f7b42874933fc2a586 (patch)
tree9fda6f44cc96a674ce39999bc4346867e5d3b25e /client.c
parentf98e123bfccf2ededa1cd22dbf88bedc5e4a2ccf (diff)
downloadcwm-8c7964468fe82bfd557165f7b42874933fc2a586.tar.gz
cwm-8c7964468fe82bfd557165f7b42874933fc2a586.tar.xz
cwm-8c7964468fe82bfd557165f7b42874933fc2a586.zip
fix missing atom (WM_PROTOCOLS) wrt new style handing; without this, the
window manager didn't know if a client supported CLIENT_PROTO_DELETE and
thus used a hammer, XKillClient.

behaviour reported by Tim van der Molen.
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index 991b841..c993af7 100644
--- a/client.c
+++ b/client.c
@@ -519,7 +519,7 @@ client_update(struct client_ctx *cc)
 	int	 i;
 	long	 n;
 
-	if ((n = xu_getprop(cc->win, WM_PROTOCOLS,
+	if ((n = xu_getprop(cc->win, cwmh[WM_PROTOCOLS].atom,
 		 XA_ATOM, 20L, (u_char **)&p)) <= 0)
 		return;