[PATCH] gitk: force focus to main window
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Dec 17, 2008, 11:50 UTC
- Message-ID
- <4948E771.4050705@viscovery.net>
From: Johannes Schindelin <johannes.schindelin@gmx.de>
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.
This fixes issue 14.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Johannes Sixt <j6t@kdbg.org> --- gitk-git/gitk | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/gitk-git/gitk b/gitk-git/gitk index 1c8d98e..b3d8219 100644 --- a/gitk-git/gitk +++ b/gitk-git/gitk @@ -10898,4 +10898,5 @@ if {[info exists permviews]} { addviewmenu $n } } +focus -force . getcommits {}
-- 1.6.1.rc3.980.ga0bb