]> git.ipfire.org Git - thirdparty/git.git/commit
gitk: check main window visibility before waiting for it to show
authorTobias Pietzsch <pietzsch@mycroft.speedport.ip>
Sat, 9 Jan 2021 22:14:08 +0000 (23:14 +0100)
committerJohannes Sixt <j6t@kdbg.org>
Sun, 24 Nov 2024 14:31:45 +0000 (15:31 +0100)
commit2afd8996aec692a26c3cdb039a47c18809148c56
tree2247e16c55dfec68f44b372e5f8597d8ca1f3439
parentc18400c6bb04f4e8875c1930db72ddd9b94649ca
gitk: check main window visibility before waiting for it to show

If the main window is already visible when gitk waits for it to
become visible, gitk hangs forever.
This commit adds a check whether the window is already visible.
See https://wiki.tcl-lang.org/page/tkwait+visibility

Signed-off-by: Tobias Pietzsch <pietzsch@mycroft.speedport.ip>
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
gitk