proper mask t catch the unmap events on systray windows
authorDana Jansens <danakj@orodu.net>
Tue, 27 Aug 2002 10:57:15 +0000 (10:57 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 27 Aug 2002 10:57:15 +0000 (10:57 +0000)
src/Screen.cc

index 235a04a..2722fe4 100644 (file)
@@ -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,