No need to map/unmap the window on hide/show since we already do the

same to its parent.

"makes sense" okan@.
This commit is contained in:
oga 2008-06-18 20:42:29 +00:00
parent 2bddbe12f4
commit e21e7680e4

View File

@ -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;