fluxbox fork with a slight change to maximized windows
Find a file
Mathias Gumz 43bdf499d5 Fix race condition on shutdown
This commit fixes primarily a race condition that occurs when xinit(1) shuts
down: by not acting properly fluxbox gets caught in an infinite loop. It
caused bug .

xinit(1) sends a SIGHUP signal to all processes. fluxbox tries to shutdown
itself properly by shutting down workspaces and screens. While doing that, the
Xserver might be gone already. Additionally, fluxbox used to restart() itself
on SIGHUP, which is clearly not the right thing to do when xinit(1) is about
to end the session.

So, fluxbox does this:

* handling SIGHUP now shuts down fluxbox without clearing workspaces and
  screens.

* A 2 second alarm() is triggered in Fluxbox::shutdown() as a last resort

* XSetIOErrorHandler() is used to recognize the disconnect from the xserver.

* SIGUSR1 is for restarting fluxbox, SIGUSR2 for reloading the config

* FbTk/SignalHandler.cc/hh is gone; this unused abstraction served currently
  no real purpose. Signal handling is now done in main.cc

* Unrelated to the issue itself src/main.cc was trimmed down quite a bit and
  the code (responsible for handling the command line interface) was moved to
  src/cli*
2014-02-18 19:34:35 +01:00
3rd/vim Added 'OnTab' highlighting in vim 2012-11-07 10:31:55 +01:00
data Re-licensing the ostrich theme due to issues regarding it's distribution 2011-09-01 20:51:14 +02:00
doc Fix race condition on shutdown 2014-02-18 19:34:35 +01:00
nls update hebrew translation 2013-08-02 08:41:57 +02:00
src Fix race condition on shutdown 2014-02-18 19:34:35 +01:00
util update of copyright info 2014-02-17 20:14:49 +01:00
.gitignore Adds 'he_IL' translations (provided by Genghis Khan) 2013-01-20 19:09:39 +01:00
acinclude.m4 configure.in, acinclude.m4: always pre-pend new libs. 2011-10-31 10:51:30 -05:00
AUTHORS updated the AUTHOR file 2011-01-23 22:23:13 +01:00
autogen.sh automake: fix initialization 2013-01-03 08:16:22 +01:00
ChangeLog Updated Changelog, NEWS, man-pages for 1.3.5 2013-02-13 11:00:22 +01:00
configure.ac Fix race condition on shutdown 2014-02-18 19:34:35 +01:00
COPYING cosmetics 2011-02-27 18:43:29 +01:00
Doxyfile cosmetics 2011-02-27 18:43:29 +01:00
INSTALL moved meta-information around a little bit 2011-11-01 07:24:11 +01:00
Makefile.am Make sure `make distcheck' is successful 2011-04-27 12:10:12 +02:00
NEWS Updated Changelog, NEWS, man-pages for 1.3.5 2013-02-13 11:00:22 +01:00
README moved meta-information around a little bit 2011-11-01 07:24:11 +01:00
stamp-h.in Initial revision 2001-12-11 20:47:02 +00:00
TODO allow decorations bitmask to be specified with 0x 2007-10-21 21:37:48 +00:00
version.h.in check for compiler and version 2004-02-28 10:33:23 +00:00

Fluxbox is a windowmanager for X that was based on the Blackbox 0.61.1 code.
It is very light on resources and easy to handle but yet full of features to
make an easy, and extremely fast, desktop experience.

Read INSTALL to read about building and installing fluxbox. Read NEWS to see
whats new in this release, for copyright information see COPYING. For more
information go to:

    http://fluxbox.org/

Thanks:

  Blackbox team

  People at #fluxbox on the irc.freenode.net irc-network.

  And all the people who sent bugfixes/patches and helped us making
  Fluxbox a better application, see AUTHORS for a incomplete list
  of people who helped fluxbox.