diff options
author | oga | 2008-06-18 20:42:29 +0000 |
---|---|---|
committer | oga | 2008-06-18 20:42:29 +0000 |
commit | 4505b705c825617778100788c3d555e8850d8185 (patch) | |
tree | 395db89b711eb658c41960bd2de8168bc8dcc2fd /client.c | |
parent | cdded259a76b8be221af4126ee95e1808c270d1e (diff) | |
download | cwm-4505b705c825617778100788c3d555e8850d8185.tar.gz |
No need to map/unmap the window on hide/show since we already do the
same to its parent.
"makes sense" okan@.
Diffstat (limited to '')
-rw-r--r-- | client.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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; |