summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2008-06-18 20:42:30 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2008-06-18 20:42:30 +0000
commitc330bc04c2742c6b9fc5cabc2eab2f862588031d (patch)
tree85f656867ab00b397d6346767cc7c2d3845b1816
parentc21dd6bad3ff858480f51c8ba29139d327f864e0 (diff)
No need to map/unmap the window on hide/show since we already do the
same to its parent. "makes sense" okan@.
-rw-r--r--app/cwm/client.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/cwm/client.c b/app/cwm/client.c
index 70c4bd62a..1f5565a3d 100644
--- a/app/cwm/client.c
+++ b/app/cwm/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;