From 42fa67144f1042bfd8469a878ab0941892bec6a0 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Wed, 6 Feb 2002 10:17:30 +0000 Subject: fixed isTransient in UnmapNotify --- src/fluxbox.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 2f2b7af..c22a82b 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.cc,v 1.26 2002/02/04 06:57:26 fluxgen Exp $ +// $Id: fluxbox.cc,v 1.27 2002/02/06 10:17:30 fluxgen Exp $ //Use some GNU extensions #ifndef _GNU_SOURCE @@ -727,7 +727,8 @@ void Fluxbox::process_event(XEvent *e) { // only process windows with StructureNotify selected // (ignore SubstructureNotify) // if (win->windowFor(e->xunmap.window)) - if (win->getClientWindow()!=e->xunmap.window) + if (win->getClientWindow()!=e->xunmap.window || + win->isTransient()) win->unmapNotifyEvent(&e->xunmap); #ifdef SLIT } else if ((slit = searchSlit(e->xunmap.window))) { -- cgit v0.11.2