From 73d2e5b7da332cbc42c987889bb2df879d354f8e Mon Sep 17 00:00:00 2001 From: rathnor Date: Fri, 30 Apr 2004 13:48:58 +0000 Subject: missed a touch in the reparent thing --- src/Window.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Window.cc b/src/Window.cc index 868d4a8..8c6e07c 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.283 2004/04/30 13:11:40 rathnor Exp $ +// $Id: Window.cc,v 1.284 2004/04/30 13:48:58 rathnor Exp $ #include "Window.hh" @@ -3153,7 +3153,7 @@ 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) { + if (xev.xreparent.send_event && !remap) { client->hide(); } } -- cgit v0.11.2