author | Paul Mackerras <paulus@samba.org> | |
Mon, 10 Mar 2008 05:50:34 +0000 (16:50 +1100) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Mon, 10 Mar 2008 05:50:34 +0000 (16:50 +1100) | ||
commit | b9bee11526ec23541ddbbd75716bfd1acc241463 | |
tree | 12f3eb159519e33f8557fa460941c7c3e9290a93 | tree | snapshot |
parent | 6675ea4240540e3ee3b0dd2f26b1ad86121d22c6 | commit | diff |
gitk: Only restore window size from ~/.gitk, not position
This also limits the window size to the screen size. That is better
than nothing, but it isn't perfect, since ideally we would take into
account window decorations, and things such as gnome panels or the
Mac OS X dock and menu bar, but I don't know how to do that.
On Cygwin this is as good as restoring the whole geometry (size and
position) at working around the Cygwin Tk bugs, according to Mark
Levedahl.
Tested-by: Mark Levedahl <mlevedahl@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This also limits the window size to the screen size. That is better
than nothing, but it isn't perfect, since ideally we would take into
account window decorations, and things such as gnome panels or the
Mac OS X dock and menu bar, but I don't know how to do that.
On Cygwin this is as good as restoring the whole geometry (size and
position) at working around the Cygwin Tk bugs, according to Mark
Levedahl.
Tested-by: Mark Levedahl <mlevedahl@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | diff | blob | history |