#88 -dev xwin shows fatal error when window closed

closed-fixed
None
5
2010-05-10
2010-05-07
Alan W. Irwin
No

For -dev xwin, when you close the window by alt+F4 or other equivalents, the following fatal error message is the result:

XIO: fatal IO error 11 (Resource temporarily unavailable) on X server

This fatal error can be disruptive to certain environments (e.g., lisp) and should be replaced by a smooth exit from PLplot. as occurs under these same circumstances for -dev qtwidget and -dev wxwidgets.

Discussion

  • Andrew Ross
    Andrew Ross
    2010-05-10

    Fixed in commit 10980.

    The xwin driver now requests WM_DELETE_WINDOW messages to be forwarded on and handles these events the same way as qtwidget does.

     
  • Andrew Ross
    Andrew Ross
    2010-05-10

    • status: open --> closed
     
  • Andrew Ross
    Andrew Ross
    2010-05-10

    • status: closed --> closed-fixed