X11 fix for errorneous change in previous commit.