Merge "CursorWindow.cpp: replace dup() with fcntl(F_DUPFD_CLOEXEC)"