diff options
author | Rob Adams <robadams@ucla.edu> | 2003-05-29 17:16:22 +0000 |
---|---|---|
committer | Rob Adams <readams@src.gnome.org> | 2003-05-29 17:16:22 +0000 |
commit | 0fa4954c46db11cdcea90934868f471a0cdea7fe (patch) | |
tree | a58a83aadd7156f91165fde525c43ee42b5d2166 /src/main.c | |
parent | 59958b0f0a91dcb198921bff7ac44b0d2227ad2b (diff) | |
download | metacity-0fa4954c46db11cdcea90934868f471a0cdea7fe.tar.gz |
chdir to the user's home directory on startup. See #113755.
2003-05-29 Rob Adams <robadams@ucla.edu>
* src/main.c (main): chdir to the user's home directory on
startup. See #113755.
* src/stack.c (get_standalone_layer): a window should be in the
fullscreen layer if it or any of its transient descendants are
focused or expecting the focus and it is either fullscreen or
fullscreen sized. Fix for #104369.
* src/stack.c (is_focused_foreach): foreach used by
get_standalone_layer to find focused transient descendants.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -112,6 +112,9 @@ main (int argc, char **argv) meta_set_debugging (TRUE); meta_set_syncing (g_getenv ("METACITY_SYNC") != NULL); + if (g_get_home_dir ()) + chdir (g_get_home_dir ()); + { char buf[256]; GDate d; |