Hi all, I've been working a lot on Jan C. E. systray patch and I would like to share the result. The changes are in the systray branch of my dwm-athens project:
https://github.com/memeplex/dwm-athens/compare/dwm-6.0...systray Hopefully some or all of the changes will eventually be included in the systray patch, but meanwhile I'll be maintaining this branch. I could push it to the patches section of suckless site also, maybe under the name "astray". The highlightings are: * Fix for bug with multiple monitors. * Fix for bug in resize request handling. * Fix for getatomprop bug. * Better handling of visibility (map/unmap). * Less calls to updatesystray(). * Less LOCs. * Some code cleanup (addressed //FIXME comments, removed some unnecessary checks, refactored some functions). See the individual diffs and the commit extensive comments for details. As systrays are a prickly subject I probably introduced new bugs. It would be great if some of you help me to debug this by trying it in multiple scenarios, v.g.: * single/multi monitor. * gtk/kde/other apps. * applications that dynamically map/unmap the icon. * etc. Cheers -- Carlos