The thought occurred to me last night, that you may be able to solve this in your Window Manager setup. In my ICEWM configuration, I have an option for determining how focus shifts..... you can select "mouse focus" or "click to focus". If you select "click to focus" it may maintain focus on your Tk app as you move the mouse around( of course you can't click on anything else :-) ).