Earlier versions of gnuplot have caused my window manager (ion3) to use 100% CPU as it fought with gnuplot over its window size. For reasons I don't completely understand this no longer happens for me with the current CVS version, but the resize behavior still seems broken: the mouse coordinate text does not appear in the bottom left unless I manually resize the window first.
I believe both issues are due to the code violating this ICCCM rule:
"The response of the client to being resized should be to accept the size it has been given and to do its best with it. Clients must not respond to being resized by attempting to resize themselves to a better size."
The attached patch attempts to make gnuplot deal with the size it has been given and removes the part of the code that attempts to resize itself in response to a resize event. This fixes all problems for me using gnuplot under ion, and does not cause any adverse effects that I have noticed.
As I don't feel I totally understand the gnuplot code I would appreciate someone checking this over for me. Then I'd feel happier submitting patches for the versions of gnuplot in the distributions that I use.
Thanks very much,