Fix fullscreen support
Split xutil.py in atom.py and root.py