snip
dumped oldXMenu support