X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=spectrwm.c;h=e0552dd19e9c667be4116ae53ed9ce91366a00cd;hb=9fa42be8ded2943b3d9fae021725ff4a21268255;hp=c8daa81a7495f683099585cd0c123eb09bb1e274;hpb=e2ad0e4e41bd98959638f482901a878c2135fff2;p=spectrwm.git diff --git a/spectrwm.c b/spectrwm.c index c8daa81..e0552dd 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -1992,7 +1992,7 @@ getstate(xcb_window_t w) xcb_get_property_cookie_t c; xcb_get_property_reply_t *r; - c = xcb_get_property(conn, 0, w, a_state, a_state, 0L, 2L); + c = xcb_get_property(conn, 0, w, a_state, XCB_ATOM_ATOM, 0L, 2L); r = xcb_get_property_reply(conn, c, NULL); if (r) {