Insert hack to support XChat's renaming of the GDK top-level window.