From b53f92bc43f7fe4f04e1be235e530bc76fdba968 Mon Sep 17 00:00:00 2001 From: okan Date: Fri, 12 Apr 2013 20:45:57 +0000 Subject: we already set window state in client_hide or client_unhide right before, so there's no need to do it again. --- client.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'client.c') diff --git a/client.c b/client.c index adba0da..f944b55 100644 --- a/client.c +++ b/client.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: client.c,v 1.122 2013/04/05 17:07:25 okan Exp $ + * $OpenBSD: client.c,v 1.123 2013/04/12 20:45:57 okan Exp $ */ #include @@ -125,7 +125,6 @@ client_new(Window win, struct screen_ctx *sc, int mapped) xu_configure(cc); (state == IconicState) ? client_hide(cc) : client_unhide(cc); - xu_setstate(cc, cc->state); TAILQ_INSERT_TAIL(&sc->mruq, cc, mru_entry); TAILQ_INSERT_TAIL(&Clientq, cc, entry); -- cgit v1.2.3-2-gb3c3