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;