From e21e7680e499e3b2361b6742581139aababe2a42 Mon Sep 17 00:00:00 2001 From: oga Date: Wed, 18 Jun 2008 20:42:29 +0000 Subject: [PATCH] No need to map/unmap the window on hide/show since we already do the same to its parent. "makes sense" okan@. --- client.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/client.c b/client.c index 8a329f0..0f5ac8d 100644 --- a/client.c +++ b/client.c @@ -421,7 +421,6 @@ client_hide(struct client_ctx *cc) { /* XXX - add wm_state stuff */ XUnmapWindow(X_Dpy, cc->pwin); - XUnmapWindow(X_Dpy, cc->win); cc->active = 0; cc->flags |= CLIENT_HIDDEN; @@ -434,7 +433,6 @@ client_hide(struct client_ctx *cc) void client_unhide(struct client_ctx *cc) { - XMapWindow(X_Dpy, cc->win); XMapRaised(X_Dpy, cc->pwin); cc->highlight = 0;