From 5033ce0a24336668f4705a17063f27d842da461b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 27 Aug 2002 10:57:15 +0000 Subject: [PATCH] proper mask t catch the unmap events on systray windows --- src/Screen.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.45.2