From: Paul Mackerras Date: Wed, 17 Dec 2008 21:38:36 GMT Subject: Re: [PATCH] gitk: force focus to main window Message-ID: <18761.29020.237388.687560@cargo.ozlabs.ibm.com> In-Reply-To: <4948E771.4050705@viscovery.net> Johannes Sixt writes: > On msysGit, the focus is first on the (Tk) console. This console is then > hidden, but keeps the focus. Work around that by forcing the focus onto > the gitk window. Hmmm, I don't like doing focus -force unconditionally on all platforms. I hate it when applications decide they know best and override what the window manager decides. At least put a if {[tk windowingsystem] eq "win32"} in there. (msysGit is a windows thing, isn't it?) Paul.