- enable mouse cursor on exit (fixes possible hang if captured)

This commit is contained in:
Volker Ruppert 2012-07-15 15:17:10 +00:00
parent 9ad179f6e7
commit 65b3567240

View File

@ -1850,8 +1850,11 @@ void bx_x_gui_c::exit(void)
XFreePixmap(bx_x_display,vgafont[i]);
}
if (mouse_captured)
enable_cursor();
if (bx_x_display)
XCloseDisplay (bx_x_display);
XCloseDisplay(bx_x_display);
BX_INFO(("Exit"));
}