Unix: Cannot close the display window once opened
Bug #716241 reported by
Matt Giuca
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HF-Lab |
Triaged
|
Low
|
Matt Giuca |
Bug Description
In the Unix/X backend, it is no longer possible to close the graphics window (as of r70, done to prevent crash if you close it then type a graphics command -- see bug #716240).
We need to handle a close event and manually shut things down gracefully so we can start them up again. Either handle DestroyNotify and create a new one the next time you need it (preferable), or set WM_DELETE_WINDOW protocol, to handle it yourself (requires continuous polling even during command-line input). See src/init/
If the Xlib backend is ported to SDL (one potential plan), this should be easier to manage.
To post a comment you must log in.