How can I fix "Error: BadWindow (invalid window parameter)"
These "BadWindow" errors tend show in terminal when exiting KDE. There are multiples of them, and I'm not bothering to copy over the exact "opcodes" because it seems like everybody gets these, and I'm sure most users have seen them before.
I have been unable to find a cause or solution, though. I looked all over the Internet and here. People who have virtual terminals open on their desktops also see them when they close various applications. But I even see this if I just "startx" and then log out of KDE after it's done loading. It seems this even happens under GNOME and other desktops! Someone mentioned they wondered about the possibity of a "race condition".
Has anyone ever definitively figured this out? If so, how do I get rid of these?