Commit graph

74 commits

Author SHA1 Message Date
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 #1100.

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
Soeren Beye
0810d7db5e Workspace switching on the toolbar via the mouse buttons 2013-02-27 09:46:47 +01:00
Mathias Gumz
b023c124a8 Updated Changelog, NEWS, man-pages for 1.3.5 2013-02-13 11:00:22 +01:00
Mathias Gumz
fe2d9476d5 Updated Changelog, NEWS, man-pages for 1.3.4 2013-02-10 17:09:04 +01:00
Mathias Gumz
9f995b7f19 preparation of fluxbox 1.3.3 2012-12-30 11:50:44 +01:00
Mathias Gumz
1ba4fbe878 Prepare 1.3.2 release 2011-10-28 21:09:05 +02:00
Pavel Labath
755787c437 Documentation: fix default values of a couple more resources 2011-09-14 19:39:11 +02:00
Pavel Labath
bc667ced6a Documentation fix: default value of slit.placement resource was wrong 2011-09-14 19:39:11 +02:00
Pavel Labath
2d3c4b387d Documentation mentions nonexisting resource: session.numLayers
so I removed the obsolete line.
2011-09-14 19:39:11 +02:00
Paul Tagliamonte
b104d9e4d0 Rebuilding the fluxbox docs to change fix a small grammer mistake
Fluxbox's man page had "allows to", which should actually be something like
 "allows one to".

 The rest of the .ins were rebuilt as a result. No changes otherwise.
2011-09-02 04:57:28 +02:00
Pavel Labath
40f8c35084 Fix assorted typos in manpages 2011-04-03 10:57:43 +02:00
Mathias Gumz
cea6887f65 updated date of manpages 2011-03-19 14:55:52 +01:00
Mathias Gumz
7658d2c56d fix some escaping problems in the man pages 2011-03-18 16:31:49 +01:00
Mathias Gumz
33dea858fb fixed spelling 2010-08-22 21:27:52 +02:00
Jim Ramsay
cdbaf5c04d Add new focus model: StrictMouseFocus
This is not actually implemented yet, but from now on, "MouseFocus" means:
  Focus follows mouse only when you are moving the mouse, any EnterNotify events
  caused by non-mouse operations (window closing, keycommands, changing
  desktops) will *not* shift focus

And once fully-implemented, "StrictMouseFocus" will mean:
  Focus follows mouse on every EnterNotify event (except when the "ClientMenu"
  closes or during alt+tab window cycling)
2010-05-28 15:10:28 -04:00
Paul Tagliamonte
3f15907b78 fixed spelling 2010-01-14 07:35:21 +01:00
Mark Tiefenbruck
f3d61235f3 change default toolbar head from 0 to 1 2009-06-28 04:11:49 -07:00
Jim Ramsay
42f2b03f60 Updated formatting for RESOURCES and ENVIRONMENT 2009-05-26 16:16:07 -04:00
Jim Ramsay
f68ff84bd1 Small edits for consistency 2009-05-26 16:16:07 -04:00
Jim Ramsay
a85866175a Created fluxbox-menu(5)
This separates the menu-syntax portions of fluxbox.txt out into its own man
page, and includes a rather large rewrite of much of fluxbox.txt, as well as
small improvements in other pages.
2009-05-26 16:16:06 -04:00
Jim Ramsay
bd8275b33c Renamed fluxstyle(1) to fluxbox-style(5) 2009-05-26 16:14:47 -04:00
Jim Ramsay
a69c429e02 Removed APPLICATIONS section from fluxbox(1)
This is now in its own man page, fluxbox-apps(5).
2009-05-26 16:14:01 -04:00
Mark Tiefenbruck
3b9611b61d increase default size of toolbar and icon buttons 2008-10-18 21:40:32 -07:00
Mark Tiefenbruck
5b07791ed4 merge menuDelay and menuDelayClose options 2008-10-12 21:55:03 -07:00
Mark Tiefenbruck
c033c201c4 remove menu modes 2008-10-04 19:49:28 -07:00
Mark Tiefenbruck
86a072e7fd remove follow models 2008-10-04 19:30:19 -07:00
Mark Tiefenbruck
e1eb5e225b remove line style resources from init file 2008-10-04 19:08:50 -07:00
Mark Tiefenbruck
ab25696328 remove rootcommand from init file 2008-10-04 18:49:00 -07:00
Mark Tiefenbruck
b288fc1401 turn on opaque window moving by default 2008-09-04 14:27:21 -04:00
Mark Tiefenbruck
f01e0c9c5a some documentation updates 2008-09-02 08:14:25 -04:00
Mark Tiefenbruck
f1ff5ff3b2 add -sync command line option for debugging X issues 2008-08-22 06:12:01 -07:00
Mark Tiefenbruck
62ff9d7029 fixed some menu documentation 2008-08-20 08:10:11 -07:00
Mark Tiefenbruck
4bf00f6857 fix match limits in apps file, plus some documentation 2008-08-20 05:26:12 -07:00
Mark Tiefenbruck
4e64d45e16 add [transient] tag to apps file to match transient windows 2008-08-19 09:18:32 -07:00
Mark Tiefenbruck
19d024cc53 update the manuals for previous commit 2008-08-18 05:19:29 -07:00
Mark Tiefenbruck
37b18a9694 combined code for saved window positions and MoveTo key command
added left, right, top, and bottom center reference points
2008-08-18 05:12:30 -07:00
Mark Tiefenbruck
2ab539073b fix some defaults 2008-08-18 02:06:46 -07:00
Mark Tiefenbruck
a30a14ef36 add top, left, right, and bottom center tab placement options 2008-08-18 01:45:44 -07:00
Mark Tiefenbruck
9e259590a2 update manual for changes in slit placement 2008-08-05 17:16:45 -07:00
Jim Ramsay
0bdf33c1e5 added new `fluxbox-keys' man page 2008-08-04 22:02:52 -07:00
Mark Tiefenbruck
ad6a7e48f4 add new command line option -list-commands 2008-06-03 01:07:14 -07:00
markt
5d7043320d allow arbitrary window patterns in iconbar 2007-11-12 21:59:43 +00:00
markt
c6a2605d76 replaced ModKey with new key commands StartMoving and StartResizing 2007-10-22 17:45:39 +00:00
markt
f72633a0e0 allow decorations bitmask to be specified with 0x 2007-10-21 21:37:48 +00:00
markt
7e4f8a3853 add support for transient windows in client patterns, and merge a few more changes from pre-devel 2007-10-14 18:05:31 +00:00
markt
61b757d872 make internal tabs default 2007-06-30 21:57:03 +00:00
grubert
467cb9ac6d * Fix fluxbox.1.in, and asciidoc, menu command is "wallpapers" not
"wallpaper". asciidoc manpages are stale.
--Tis line, and those below, will be ignored--

M    ChangeLog
M    doc/fluxbox.1.in
M    doc/asciidoc/fluxbox.txt
M    doc/asciidoc/fluxbox.es.txt
M    doc/asciidoc/fluxbox.de.txt
2007-06-04 15:32:23 +00:00
mathias
4929bda39e use asciidoc-generated manpages from now on 2007-04-23 18:48:40 +00:00
markt
3b9351be77 menu from workspacename tool wasn't focused, and fixed unpressed button rendering 2007-04-08 18:01:01 +00:00
mathias
bdf2ff4e0b updated docs in asciidoc-format 2007-03-20 08:12:24 +00:00