x11rdp: start splitting drawing functions into multiple source files