Closing a graphics window (pressing the "x" button in the window's corner) on Linux gives me:
I've tried to put in an "If AppTerminate() = True" statement in the loop to see if I could catch the event and shut down "properly", but it seems to ignore this line (could be that I am doing wrong?).
Ubuntu 8.04, nVidia 7900GTX, BlitzMax 1.30
XIO: fatal IO error 22 (Invalid argument) on X server ":0.0" after 57 requests (57 known processed) with 0 events remaining.The app does end, but not without throwing this error to the system
I've tried to put in an "If AppTerminate() = True" statement in the loop to see if I could catch the event and shut down "properly", but it seems to ignore this line (could be that I am doing wrong?).
Ubuntu 8.04, nVidia 7900GTX, BlitzMax 1.30