From 4505b705c825617778100788c3d555e8850d8185 Mon Sep 17 00:00:00 2001 From: oga Date: Wed, 18 Jun 2008 20:42:29 +0000 Subject: No need to map/unmap the window on hide/show since we already do the same to its parent. "makes sense" okan@. --- client.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client.c b/client.c index 70c4bd6..1f5565a 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. * - * $Id: client.c,v 1.30 2008/06/14 22:04:11 okan Exp $ + * $Id: client.c,v 1.31 2008/06/18 20:42:29 oga Exp $ */ #include "headers.h" @@ -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; -- cgit v1.2.3-2-gb3c3