From 0fb6cf2817d41020dd7e36e7cd04939b44214496 Mon Sep 17 00:00:00 2001 From: Nikos Ntarmos Date: Sun, 30 Dec 2007 19:24:21 +0200 Subject: [PATCH] check for EWMH.initial_state --- client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.c b/client.c index d6ba462ea..0e68b70ed 100644 --- a/client.c +++ b/client.c @@ -565,7 +565,7 @@ client_updatewmhints(Client *c) if((wmh = XGetWMHints(globalconf.display, c->win))) { c->isurgent = (wmh->flags & XUrgencyHint); - if(wmh->initial_state == WithdrawnState) + if((wmh->flags & StateHint) && wmh->initial_state == WithdrawnState) c->skip = True; XFree(wmh); }