From f48e8c0ee9456eae06004e05b741b5d873661cd8 Mon Sep 17 00:00:00 2001 From: David Hill Date: Thu, 19 Jul 2012 21:00:24 -0400 Subject: [PATCH] revert getstate change. made windows disappear. --- spectrwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.2