From: Dana Jansens Date: Tue, 27 Aug 2002 10:57:15 +0000 (+0000) Subject: proper mask t catch the unmap events on systray windows X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=5033ce0a24336668f4705a17063f27d842da461b;p=chaz%2Fopenbox proper mask t catch the unmap events on systray windows --- diff --git a/src/Screen.cc b/src/Screen.cc index 235a04a7..2722fe4b 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -1351,7 +1351,7 @@ void BScreen::updateStackingList(void) { void BScreen::addSystrayWindow(Window window) { XGrabServer(blackbox->getXDisplay()); - XSelectInput(blackbox->getXDisplay(), window, SubstructureRedirectMask); + XSelectInput(blackbox->getXDisplay(), window, StructureNotifyMask); systrayWindowList.push_back(window); xatom->setValue(getRootWindow(), XAtom::kde_net_system_tray_windows, XAtom::window,