X11 fix after broken by previous commit