Brad Jorsch - 2010-01-02

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.