Re: [PATCH] gitk: force focus to main window
- From
Paul Mackerras <paulus@samba.org>
- Date
- Dec 18, 2008, 04:09 UTC
- Message-ID
- <18761.52488.206887.985268@cargo.ozlabs.ibm.com>
- In-Reply-To
- <alpine.DEB.1.00.0812180413240.14632@racer>
Johannes Schindelin writes:
Show 5 quoted lines
> > At least put a if {[tk windowingsystem] eq "win32"} in there. (msysGit
> > is a windows thing, isn't it?)
>
> Yeah, because on other platforms, when you start gitk, you don't want it
> to take focus. Yeah, right.No - on other platforms I have a window manager that gives focus to new applications automatically. Or, if I don't want new applications to grab the focus, I tell the window manager that that's what the policy should be. Either way the application shouldn't forcibly and unilaterally grab the focus.
I'm prepared (predisposed, even :-) to believe that windows sucks, so I'll take the patch if it only affects windows.
Paul.