diff --git a/linux_4ed.cpp b/linux_4ed.cpp index 25fdfd21..b30e1301 100644 --- a/linux_4ed.cpp +++ b/linux_4ed.cpp @@ -3471,6 +3471,11 @@ main(int argc, char **argv) } } + if(linuxvars.XDisplay){ + if(linuxvars.XWindow) XDestroyWindow(linuxvars.XDisplay, linuxvars.XWindow); + XCloseDisplay(linuxvars.XDisplay); + } + return 0; }