I'm writing a simple minor mode (for personal use) which dynamically sets fringes according to current window width. I added a dedicated function to those hooks:
as well as to
pre-redisplay-function and it works quite fine.
But there are external packages or in-built Emacs functions which pop up a buffer in other window (e.g. *help* buffers or magit diffs buffer) with focus remaining in current buffer and those buffers are not displayed properly (meaning: according to my intention) unless I switch to them and they gain a "selected window" status.
Is there a hook which controls redisplaying those "automatic" guests in the frame or, even better, a hook which would loop over all active windows after any change of windows configuration?