x11: disable various features when embedding the window