From 6e5d89e4de8a5147e47a559ee49b26ba9c48703d Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 11 Aug 2008 15:04:10 +0200 Subject: [PATCH] Revert "client: fix windows managed on startup" This reverts commit f32cba6bd8625008eceae7dfaa83f123381d269e. --- awesome.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awesome.c b/awesome.c index 4533e020..db003be5 100644 --- a/awesome.c +++ b/awesome.c @@ -105,7 +105,8 @@ scan(void) state = window_getstate(wins[i]); if(!attr_r || attr_r->override_redirect - || attr_r->map_state == XCB_MAP_STATE_UNVIEWABLE) + || attr_r->map_state != XCB_MAP_STATE_VIEWABLE + || state == XCB_WM_WITHDRAWN_STATE) { p_delete(&attr_r); continue;