]> Dogcows Code - chaz/openbox/commitdiff
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 235a04a78c788bd7e377633d607bd816e9f83ef0..2722fe4bd28310f1336109fda1ddec2569e830ad 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,
This page took 0.023661 seconds and 4 git commands to generate.