|
From: Daniel J S. <dan...@ie...> - 2004-09-13 17:03:17
|
Donald Burns wrote: >Do you think your patch will make it into >the mainstream gnuplot release? > > It needs to be tested by others for syntax and behavior. Plus this is one of those things where I'd like to confirm that non-numbered windows are properly cleaned up if the outside app closes the window. (So far, it seems to do so.) For developers' sake, the change isn't too drastic. The one conceptual change is that I moved the code that keeps track of the "most recent plot number" to inside gnuplot_x11.c instead of x11.trm. (You see, if x11.trm keeps setting the number every time it does a plot, then the non-numbered plots lose the "current_plot" status. I see no reason for x11 to change "current_plot" except during a "set term x11" command... unless of course gnuplot_x11 stops and needs to be restarted, but I've not seen that happen for a while. Anyway, some control logic could be put inside x11.trm in addition. It's just that I think it isn't necessary.) Dan |