aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.hh
AgeCommit message (Collapse)AuthorFilesLines
2011-11-01Move declarations of Resource enums to a separate filePavel Labath1-5/+2
The reason for this is that I need to access those enums from fluxbox-update_configs and I don't want to #include and link everything in src. I also merged Slit::Placement, Toolbar::Placement and FbWinFrame::TabPlacement into one enum.
2011-11-01Create a completely new lua state upon USR2 reconfigurePavel Labath1-4/+0
This way, global variables set by the scripts don't persist between hard reconfigures. I also cleaned up the reconfig-handling code in fluxbox.cc. Instead of three reconfig functions (real_reconfig, timed_reconfig, reconfig) we have just one.
2011-11-01Add a TODO comment regarding the colorsPerChannel resourcePavel Labath1-0/+1
the new value of the resource is not used until fluxbox restarts.
2011-11-01Attach modifiedSig handlers to the session.autoRaiseDelay resourcePavel Labath1-1/+2
2011-11-01Attach a modifiedSig handler to the session.cacheMax resourcePavel Labath1-1/+1
2011-11-01Attach a modifiedSig handler to the session.cacheLife resourcePavel Labath1-1/+1
2011-11-01Attach a modifiedSig handler to the session.menuFile resourcePavel Labath1-1/+1
2011-11-01Attach a modifiedSig handler to the session.styleFile resourcePavel Labath1-2/+3
2011-11-01Add RangeTraits class which automatically clamps the value of resourcesPavel Labath1-3/+3
and start using it.
2011-11-01Attach a modifiedSig handler to the session.tabPadding resourcePavel Labath1-1/+1
ps: this is a bonus, without this one needed to completely restart fluxbox for the updates to tabPadding to take effect.
2011-11-01Attach a modifiedSig handler to the session.keyFile resourcePavel Labath1-1/+1
2011-11-01Attach a modifiedSig handler to the session.appsFile resourcePavel Labath1-1/+1
2011-11-01use Lua::registerInitFunction to simplify some parts of codePavel Labath1-2/+2
2011-11-01Add accessor for the lua state of Fluxbox classPavel Labath1-0/+2
2011-11-01Convert slitlist from a separate file to a regular lua resourcePavel Labath1-2/+1
2011-11-01Replace ResourceManager with the lua versionPavel Labath1-2/+3
Loading of an init file with the new manager works ok. Saving and restarting is still not completed. This touches many files because i removed the alternative name of resources. Unlike Xrm, lua does not have native support for alt names. It should be fairly easy to add them, but I think that is unnecessary and would be confusing.
2011-11-01Simplify FbTk::Resource template classPavel Labath1-7/+7
by outsourcing the conversion from string/lua to the specific type (and back) to a separate class. This change touches a lot of files because the interface of FbTk::Resource changed slightly. However, the changes are minor.
2011-05-10Convert FluxboxWindow::layerSig to FbTk::SignalPavel Labath1-3/+2
2011-05-10Convert FluxboxWindow::stateSig to FbTk::SignalPavel Labath1-0/+2
2011-05-10Convert FluxboxWindow::workspaceSig to FbTk::SignalPavel Labath1-0/+2
2011-05-10Convert Focusable::dieSig to FbTk::SignalPavel Labath1-0/+4
2010-09-18changed the way we create the '~/.fluxbox' directory to avoid race conditionsMathias Gumz1-5/+7
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-13code simplificationMathias Gumz1-2/+2
we do not need a std::map just to store an attribute on an AtomHandler, it makes housekeeping just more annoying.
2008-09-28Changed workspace area signal to use the new signal systemHenrik Kinnunen1-0/+3
2008-09-28Change focused signal to use the new signal systemHenrik Kinnunen1-0/+4
2008-09-21Changed client list signal in BScreen to use the new signal systemHenrik Kinnunen1-0/+2
2008-09-21Changed workspace names signal in BScreen to use the new signal systemHenrik Kinnunen1-0/+2
2008-09-21Changed current workspace signal in BScreen to use the new signal systemHenrik Kinnunen1-0/+2
2008-09-18Changed workspace count signal in BScreen to use the new signal system.Henrik Kinnunen1-1/+7
2008-08-22add -sync command line option for debugging X issuesMark Tiefenbruck1-1/+1
2008-08-16revert focus when closing dialogsMark Tiefenbruck1-1/+3
2008-06-20move default window menu to ~/.fluxbox/windowmenuMark Tiefenbruck1-1/+1
2008-05-12only reload the keys file if the contents have changedMark Tiefenbruck1-0/+1
2008-05-12refactor menu reloading, added FbTk::AutoReloadHelperMark Tiefenbruck1-15/+0
2008-05-11remove some more useless codeMark Tiefenbruck1-4/+2
2008-01-12move some stuff from Fluxbox to BScreenMark Tiefenbruck1-4/+0
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2008-01-01fix some flickering on focus changeMark Tiefenbruck1-3/+2
2007-12-30removed some unneeded headersMathias Gumz1-6/+5
2007-12-11only allow one open menu at a timemarkt1-2/+0
2007-11-12allow arbitrary window patterns in iconbarmarkt1-6/+0
2007-10-22replaced ModKey with new key commands StartMoving and StartResizingmarkt1-4/+0
2007-10-13merged changes from pre-develmarkt1-2/+2
2007-07-24fix ToggleDecor for fullscreen and decorationless windows, plus some other ↵markt1-1/+1
cleanup
2007-07-07fixes for --program-prefix and --program-suffix, plus fixed overwriting init ↵markt1-2/+1
file on reconfigure
2007-03-04moved some code around (regarding event handling) in preparation for ↵markt1-8/+0
upcoming features
2007-03-03removed session.numLayers resource, as it was useless and caused segfaultsmarkt1-6/+1
2007-01-05only grab keybindings on screens managed by fluxboxmarkt1-1/+3
2007-01-01don't run [startup] items if fluxbox fails to loadmarkt1-1/+1
2006-07-25don't revert focus away from command dialogsmarkt1-0/+2