]> code.delx.au - spectrwm/commitdiff
revert getstate change. made windows disappear.
authorDavid Hill <dhill@conformal.com>
Fri, 20 Jul 2012 01:00:24 +0000 (21:00 -0400)
committerReginald Kennedy <rk@rejii.com>
Fri, 20 Jul 2012 22:00:03 +0000 (06:00 +0800)
spectrwm.c

index e0552dd19e9c667be4116ae53ed9ce91366a00cd..c8daa81a7495f683099585cd0c123eb09bb1e274 100644 (file)
@@ -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, XCB_ATOM_ATOM, 0L, 2L);
+       c = xcb_get_property(conn, 0, w, a_state, a_state, 0L, 2L);
        r = xcb_get_property_reply(conn, c, NULL);
 
        if (r) {