summaryrefslogtreecommitdiff
path: root/Documentation/git-am.txt
diff options
context:
space:
mode:
authorMark Levedahl <mdl123@verizon.net>2007-02-08 22:22:24 -0500
committerJunio C Hamano <junkio@cox.net>2007-02-11 13:47:55 -0800
commit602598fd5d8f64028f84d2772725c5e3414a112f (patch)
tree154be58f5a10a3022bb411b104f16c81ac321a90 /Documentation/git-am.txt
parent788743240e7076a285e226ca230385e041d66db5 (diff)
downloadgit-602598fd5d8f64028f84d2772725c5e3414a112f.tar.gz
Make gitk save and restore the user set window position.
gitk was saving widget sizes and positions when the main window was destroyed, which is after all child widgets are destroyed. The cure is to trap the WM_DELETE_WINDOW event before the gui is torn down. Also, the saved geometry was captured using "winfo geometry .", rather than "wm geometry ." Under Linux, these two return different answers and the latter one is correct. [jc: credit goes to Brett Schwarz for suggesting the use of "wm protocol"; I also squashed the follow-up patch to remove extraneous -0 from expressions.] Signed-off-by: Mark Levedahl <mdl123@verizon.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-am.txt')
0 files changed, 0 insertions, 0 deletions