Go to file
Shawn O. Pearce 39fa2a983d git-gui: Save geometry before the window layout is damaged
Because Tk does not assure us the order that it will process
children in before it destroys the main toplevel we cannot safely
save our geometry data during a "bind . <Destroy>" event binding.
The geometry may have already changed as a result of a one or
more children being removed from the layout.  This was pointed
out in gitk by Mark Levedahl, and patched over there by commit
b6047c5a81.

So we now also use "wm protocol . WM_DELETE_WINDOW" to detect when
the window is closed by the user, and forward that close event to
our main do_quit routine.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2007-06-11 23:52:43 -04:00
lib git-gui: Save geometry before the window layout is damaged 2007-06-11 23:52:43 -04:00
.gitignore git-gui: Refactor into multiple files to save my sanity 2007-05-07 23:35:48 -04:00
GIT-VERSION-GEN git-gui: Include 'war on whitespace' fixes from git.git 2007-06-11 19:06:10 -04:00
Makefile Revert "Make the installation target of git-gui a little less chatty" 2007-06-02 21:01:29 -04:00
git-gui.sh git-gui: Save geometry before the window layout is damaged 2007-06-11 23:52:43 -04:00