If I click the right button of my mouse while on the desktop, I don't get any menu. What is more, no icon appear on the desktop. It looks like xfdesktop was not running, but it actually is...
Gonna need a bit more info than that... try killing xfdesktop and running it from a terminal. Any output? Try building with --enable-debug=yes, and checking for output.
The problem has to do with loading the desktop menu module. In FreeBSD the symbols from libxfce4menu aren't visible to the menu stub when it loads the module, so it fails trying to get the pointer to xfce_menu_init(). I was able to get the menu to work by writing wrapper functions around init and shutdown in the module, and modifying the menu stub to use those wrapper functions instead. I've attached the patches I used to fix the problem. I don't know if they are suitable as a general fix or not.
Created attachment 2229 patch to use wrapper functions.
Created attachment 2230 patch to add wrapper functions
Hmm, naw, right move here is to just remove the xfce_menu_init() calls from the stub. They're not necessary anymore. Should work ok in svn trunk, rev 29655.