From a969d7fdff797f5f69665f07f8ac2e0247834ee6 Mon Sep 17 00:00:00 2001
From: rathnor <rathnor>
Date: Mon, 3 May 2004 13:45:23 +0000
Subject: tweak the remap fix. Scott pointed out that the xevent isn't actually
 filled in there. Lets try it just checking !remap...

---
 src/Window.cc | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/Window.cc b/src/Window.cc
index 6630226..e8cdf32 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -22,7 +22,7 @@
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE.
 
-// $Id: Window.cc,v 1.285 2004/05/02 21:08:28 fluxgen Exp $
+// $Id: Window.cc,v 1.286 2004/05/03 13:45:23 rathnor Exp $
 
 #include "Window.hh"
 
@@ -3145,9 +3145,8 @@ void FluxboxWindow::restore(WinClient *client, bool remap) {
         // reparent to root window
         client->reparent(screen().rootWindow().window(), frame().x(), frame().y());
 
-        if (xev.xreparent.send_event && !remap) {
+        if (!remap)
             client->hide();
-        }
     }
 
     if (remap)
-- 
cgit v0.11.2