Only close clipboard hidden window only if created. This fixes errors on

early exit from the GUI.
This commit is contained in:
gbeauche 2005-06-19 15:50:52 +00:00
parent fe99211e75
commit 7f3e40883a

View File

@ -296,6 +296,7 @@ void ClipInit(void)
void ClipExit(void)
{
// Close window
if (clip_win)
XDestroyWindow(x_display, clip_win);
}