From: David Hill Date: Fri, 20 Jul 2012 01:00:24 +0000 (-0400) Subject: revert getstate change. made windows disappear. X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=f48e8c0ee9456eae06004e05b741b5d873661cd8;hp=9fa42be8ded2943b3d9fae021725ff4a21268255;p=spectrwm.git revert getstate change. made windows disappear. --- diff --git a/spectrwm.c b/spectrwm.c index e0552dd..c8daa81 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, 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) {