James Liggett jrliggett@cox.net writes:
/* fall back to he KDE hints if the WM doesn't support XEMBED'ed
* systrays */
/* Put the window back within the screen so it will be mapped */
SetWindowPos( data->hwnd, NULL, 0, 0, 0, 0, SWP_NOZORDER | SWP_NOSIZE );
It would be nicer to create the window with normal coordinates, and only move it off-screen when needed, instead of having off-screen be the default behavior. It would also avoid having explorer know about internals of the systray implementation.