summaryrefslogtreecommitdiff
path: root/wm/evilwm/patches/patch-ab
blob: 2e4e7c14e51f9df5d5d5577a6c22d16babe526e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ab,v 1.1 2003/09/22 20:30:28 jmmv Exp $

--- screen.c.orig	Mon Sep 22 20:04:18 2003
+++ screen.c	Mon Sep 22 20:04:35 2003
@@ -356,7 +356,8 @@
 #endif
 
 void unhide(Client *c, int raise) {
-	c->ignore_unmap = 0;
+	if (!c->ignore_unmap)
+		c->ignore_unmap = 0;
 	XMapWindow(dpy, c->window);
 	raise ? XMapRaised(dpy, c->parent) : XMapWindow(dpy, c->parent);
 	set_wm_state(c, NormalState);