Draw titles with cairo.
Handle Motif undecorations.