[comp.windows.news] psterm and neatwin bug fixes

don@BRILLIG.UMD.EDU (Don Hopkins) (11/16/88)

Here's a fix for psterm to make it work with neatwin.ps, or any other
window class that doesn't have its own BorderRight class variable: In
psterm.ps, in the definition of the PSTermWindow class: replace
"DefaultWindow /BorderRight get" with "/BorderRight DefaultWindow
send". Also there is a bug in netwin.ps that is tickled by psterm's
overriding the flipiconic method. (Which neatwin should use but
doesn't.) The fix: Replace the definition of the /flipmove method in
neatwin.ps with the following:

    /flipmove {
      gsave
        flipiconic
        framebuffer setcanvas
        CurrentEvent begin XLocation YLocation end
        Iconic? {
          exch IconWidth 2 div sub exch IconHeight 2 div sub
        } {
          exch FrameWidth 2 div sub exch FrameHeight 2 div sub
        } ifelse
        move
        slide
      grestore
    } def

	-Don