Yeah, looks like, this was the wrong solution. Note sure, why it seemed
to work for me (now I can't make it work any longer). How about, this
patch, which should redraw the old window, if the cursor position
changed (thus it should redraw for all your problems mentioned) just
before switching windows.

Yeah, looks like, this was the wrong solution. Note sure, why it seemed
to work for me (now I can't make it work any longer). How about, this
patch, which should redraw the old window, if the cursor position
changed (thus it should redraw for all your problems mentioned) just
before switching windows.