More consistent platform window manipulation
Key mapping on X11 and Win32