add an openbox_active_window client message that lets you specify if you want the window to be raised and/or unshaded.