Unified X11 cursor creation.
Merge remote-tracking branch 'upstream/master'