On 2009/02/14 18:19, Edd Barrett wrote: > Hi, > > Here is a port of wmsystray, which acts like a system tray for window > managers that support dockapps (windowmaker, openbox...). > > Works well here. > > Tested i386.
xembed.c:72: warning: implicit declaration of function `memset' ui.c:317: warning: implicit declaration of function `find_systray_item' memset() and find_systray_item() return a pointer; the missing prototypes result in an implicit declaration for an int (i.e. 32-bit) which will truncate the pointer and cause 64-bit arch to break (especially amd64 which is very likely to use virtual address space higher than 4GB even with limited phys memoryin the machine). ui.c:151: warning: implicit declaration of function `draw_ui_elements' ui.c:341: warning: implicit declaration of function `systray_property_update' ui.c:407: warning: implicit declaration of function `usleep' systray.c:281: warning: implicit declaration of function `draw_ui_elements' these do not have prototypes - sloppy, but won't cause a runtime problem. fixing these will clear up most of the other warnings. other than this, I don't really know how to test it.
