diff options
author | Stefan Haller <stefan@haller-berlin.de> | 2013-06-06 10:17:47 +0200 |
---|---|---|
committer | Pat Thoyts <patthoyts@users.sourceforge.net> | 2013-06-07 01:34:42 +0100 |
commit | 7d2017e7738ace254d0b653ce844d07af8ecf026 (patch) | |
tree | 8e013213c2c02f87447c2881817504e9b01285a3 /refs.c | |
parent | git-gui: change dialog button positions for Windows to suit platform. (diff) | |
download | tgif-7d2017e7738ace254d0b653ce844d07af8ecf026.tar.xz |
git-gui: bring wish process to front on Mac
On Mac OS X, any application that is started from the Terminal will open
behind all running applications; as a work-around, manually bring ourselves
to the front. (Stolen from gitk, commit 76bf6ff93e.)
We do this as the very first thing, so that any message boxes that might pop
up during the rest of the startup sequence are actually seen by the user.
[PT: added catch and moved down to ensure Tk has been loaded]
Signed-off-by: Stefan Haller <stefan@haller-berlin.de>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Diffstat (limited to 'refs.c')
0 files changed, 0 insertions, 0 deletions