Added setCursorClipped() for X11 and fixed some minor issues.

Also disabled the function for fullscreen windows and added some missing
initializer list entries.