fluxbox/util
Mathias Gumz 0ef76292c5 changed the way we create the '~/.fluxbox' directory to avoid race conditions
before bringing up the first instance of Fluxbox we prepare the directory
and the files it needs. if the config version of exiting files is lower
than what we expect, we upgrade the config files. after that we bring
up Fluxbox.

the old way was problematic because setupConfigFiles() calls
'fluxbox-update_configs' which does its job in the background while
fluxbox continues to boot. 'fluxbox-update_configs' sends a USR2 signal
to the booting fluxbox (it might even be finished, no one knows) which
triggers 'load_rc()' which triggered 'setupConfigFiles()' again which
might trigger 'fluxbox-update_configs' again (on my machine
'fluxbox-update_configs' was called 3 times and left a pretty crippled
'keys' file when it was done).

bootstrapping before bringing up fluxbox resolves the issue. as a bonus:
no need to send USR2 to fluxbox to reload the config file because fluxbox
has not even tried to read it yet.
2010-09-18 17:51:30 +02:00
..
fbrun introduced FbTk::BidiString 2010-09-08 20:17:21 +02:00
fbsetbg Cleaned up 'fbsetbg -h' output 2009-05-28 14:31:54 -04:00
fbsetroot.cc recognize --option in addition to -option for most things 2008-10-04 14:32:20 -07:00
fbsetroot.hh cosmetic fixes: removed redundant ';' + some whitespaces 2009-09-30 21:02:24 +02:00
fluxbox-generate_menu.in bugfix: do not create the temporary menufile 'somewhere' in the filesystem but next to the final one 2010-02-28 20:16:46 +01:00
fluxbox-remote.cc remove old svn $Id$ tags 2008-01-03 17:34:12 -08:00
fluxbox-update_configs.cc changed the way we create the '~/.fluxbox' directory to avoid race conditions 2010-09-18 17:51:30 +02:00
Makefile.am fix out of source building 2008-06-01 15:44:28 -07:00
startfluxbox.in make wallpapers do The Right Thing (tm) 2008-08-05 23:40:18 -07:00