working X11 window