Change the Focus and Readjust the Bokeh (Z-Depth Bokeh Blur)
After changing the camera's focus distance, apply "Z-Depth Bokeh Blur" again. No extra bokeh is added; the existing bokeh readjusts to the current focus. Effects you added earlier also stay as they are.
Starting scene demonstrated on a Suzanne in front and a blue Suzanne 25m away
Steps
In "Effects / Presets", click "Advanced Glow", then click "Z-Depth Bokeh Blur".
Render again (F12). The Suzanne in front is crisp.
Change the camera's "Focus Distance" under "Depth of Field" to the distance to the object in the back (25m here).
Apply "Z-Depth Bokeh Blur" again.
Render again (F12).
Follow the changes on screen
Front in FocusThe result of applying "Z-Depth Bokeh Blur" after Glow. The front is crisp.Back in FocusThe result of setting the focus distance to 25m and clicking again. The blue Suzanne in the back is now crisp, and the front is blurred.NodesThe node editor. There is still only one "SCS Z-Depth Bokeh Blur" Frame.