<div dir="ltr">I currently use the following to get windows inserted in the order that I want and it works well. <div><br></div><div>        , manageHook=insertPosition Below Newer <+><br>              manageHook def <+> manageDocks <br></div><div><br></div><div>My issue  is that when I close a window I always get the wrong window focused as it does not take into account the order in which it was created.</div><div><br></div><div>Is there any way that this can be overcome?</div><div><br></div><div>Thanks</div><div>Joe</div></div>