mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-23 04:33:24 +00:00
Only close clipboard hidden window only if created. This fixes errors on
early exit from the GUI.
This commit is contained in:
parent
fe99211e75
commit
7f3e40883a
@ -296,7 +296,8 @@ void ClipInit(void)
|
||||
void ClipExit(void)
|
||||
{
|
||||
// Close window
|
||||
XDestroyWindow(x_display, clip_win);
|
||||
if (clip_win)
|
||||
XDestroyWindow(x_display, clip_win);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user