In openbox, if I run xmodkeys (in autostart.sh, to switch esc and caps lock), then run xfce4-panel, the modifications from xmodkeys stop working (esc and caps lock revert to original functions). I can run xmodkeys again to switch esc and caps lock again.
I don't see how this could be related to the panel.