Make X11 selection work correctly (marked text in the ChatWidget now goes into XSelec...