Initial XEvents mapping in AppKit