Implement set_program_priority for XLIB