fixed isTransient in UnmapNotify

This commit is contained in:
fluxgen 2002-02-06 10:17:30 +00:00
parent ccb2beb0e1
commit 42fa67144f

View file

@ -22,7 +22,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // 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 //Use some GNU extensions
#ifndef _GNU_SOURCE #ifndef _GNU_SOURCE
@ -727,7 +727,8 @@ void Fluxbox::process_event(XEvent *e) {
// only process windows with StructureNotify selected // only process windows with StructureNotify selected
// (ignore SubstructureNotify) // (ignore SubstructureNotify)
// if (win->windowFor(e->xunmap.window)) // if (win->windowFor(e->xunmap.window))
if (win->getClientWindow()!=e->xunmap.window) if (win->getClientWindow()!=e->xunmap.window ||
win->isTransient())
win->unmapNotifyEvent(&e->xunmap); win->unmapNotifyEvent(&e->xunmap);
#ifdef SLIT #ifdef SLIT
} else if ((slit = searchSlit(e->xunmap.window))) { } else if ((slit = searchSlit(e->xunmap.window))) {