1
0
mirror of https://github.com/git/git.git synced 2024-10-01 01:21:24 +02:00
git/lib
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
b6047c5a8166a71e01c6b63ebbb67c6894d95114.

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
..
blame.tcl git-gui: Save geometry before the window layout is damaged 2007-06-11 23:52:43 -04:00
branch.tcl git-gui: Allow creating a branch when none exists 2007-05-30 19:34:40 -04:00
browser.tcl git-gui: Save geometry before the window layout is damaged 2007-06-11 23:52:43 -04:00
class.tcl git-gui: Save geometry before the window layout is damaged 2007-06-11 23:52:43 -04:00
commit.tcl git-gui: Refactor into multiple files to save my sanity 2007-05-07 23:35:48 -04:00
console.tcl git-gui: Save geometry before the window layout is damaged 2007-06-11 23:52:43 -04:00
database.tcl git-gui: Convert browser, console to "class" format 2007-05-08 21:38:54 -04:00
diff.tcl git-gui: Allow as few as 0 lines of diff context 2007-05-31 23:32:54 -04:00
error.tcl git-gui: Refactor into multiple files to save my sanity 2007-05-07 23:35:48 -04:00
index.tcl git-gui: Refactor into multiple files to save my sanity 2007-05-07 23:35:48 -04:00
merge.tcl git-gui: Save geometry before the window layout is damaged 2007-06-11 23:52:43 -04:00
option.tcl git-gui: Display the "Loading annotation..." message in italic 2007-06-06 01:26:51 -04:00
remote.tcl git-gui: Refactor into multiple files to save my sanity 2007-05-07 23:35:48 -04:00
shortcut.tcl git-gui: Refactor into multiple files to save my sanity 2007-05-07 23:35:48 -04:00
transport.tcl git-gui: Move console procs into their own namespace 2007-05-07 23:35:50 -04:00