Systray Icon dissapear
Brought to you by:
zed
As title says, XChat Systray icon dissapear when gnome panel is killed or refreshed. I don't think that's the best place to report this bug but, I already submitted to GNOME's home page and I wanna notify to XChat's Community.
According to the freedesktop.org system tray protocol, a systray client should listen for a particular client message on the root window to be notified when the system tray starts, which is to be sent with the StructureNotify event mask. GtkStatusIcon (AFAIK) does this automatically, but xchat overrides this by calling gdk_window_set_events on the root window to listen only to PropertyNotify events.
Adding GDK_STRUCTURE_MASK to the gdk_window_set_events call in src/fe-gtk/fe-gtk.c seems to fix it.