aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
AgeCommit message (Collapse)AuthorFilesLines
2011-09-14Fix compilation with intel's compilerPavel Labath1-4/+0
the deleted function was never used, otherwise it would generate an error with other compilers as well. icc noticed that it was nonsensical even when it wasn't used and complained.
2011-05-10Convert FluxboxWindow::layerSig to FbTk::SignalPavel Labath1-20/+6
2011-05-10Convert FluxboxWindow::stateSig to FbTk::SignalPavel Labath1-25/+24
2011-05-10Convert FluxboxWindow::workspaceSig to FbTk::SignalPavel Labath1-4/+6
2011-05-10Convert Focusable::dieSig to FbTk::SignalPavel Labath1-32/+37
2011-03-23compile fix: sunCC 5.11 (sunstudio 12) compiles and links againMathias Gumz1-1/+1
biggest change: renaming of 'class Layer' to 'class ResourceLayer' in Layer.hh to handle complaints about 'ambiguous Layer: Layer or FbTk::Layer'. 'ResourceLayer' sounds crappy, but that was the best I could come up with right now.
2011-02-23renamed FbTk::XLayer to FbTk::Layer and FbTk::XLayerItem to FbTk::LayerItemMathias Gumz1-1/+1
2010-09-19pushed to early ...Mathias Gumz1-16/+64
2010-09-18changed the way we create the '~/.fluxbox' directory to avoid race conditionsMathias Gumz1-87/+16
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-18cosmeticMathias Gumz1-8/+14
2010-09-15code deduplication by using <algorithm> and FbTk/STLUtil.hhMathias Gumz1-98/+38
2010-09-14bugfix: small typo in last cleanup prevented loading workspace namesMathias Gumz1-1/+1
2010-09-13cosmetic code cleaningMathias Gumz1-37/+30
* use FbTk::StringUtil::number2String() to avoid 'sprintf' * use FbTk::Util::clamp() * use FbTk::STLUtil::destroyAndClear() * whitespaces
2010-09-13code simplificationMathias Gumz1-59/+42
we do not need a std::map just to store an attribute on an AtomHandler, it makes housekeeping just more annoying.
2010-09-13code simplificationMathias Gumz1-56/+28
2010-09-11updated config version to '13' and adjusted 'fluxbox-update_configs' accordinglyMathias Gumz1-1/+1
our users should migrate seamlessly to our new windows-cycling behaviour without losing their current way of doing things. so, 'fluxbox-update_configs' tries its best to add '(workspace=[current])' wherever it looks like a valid place for it. such changed lines are marked by '!! FBCV13' at the end and can be easily spotted in case the updater got it wrong. addtional changes: * added '-check' to 'fluxbox-update_configs' to check the version number in '~/.fluxbox/init' vs. the version number of 'fluxbox-update_configs' * moved the update-code for each version into its own function, easier housekeeping
2010-09-09simpler codeMathias Gumz1-4/+1
2010-09-09minor cleanupMathias Gumz1-1/+1
2010-09-08simpler way of expressing 'Singleton' for 'FbAtoms'Mathias Gumz1-1/+1
2010-08-20implemented 'ActivateTab' action to (re)allow activation of tabs via mouseMathias Gumz1-1/+1
2010-05-05upgrade CONFIG_VERSION to 11Mathias Gumz1-1/+1
2010-03-17Changed #ifdef DEBUG ... cerr << to using fbdbg.Henrik Kinnunen1-24/+14
This will reduce the number of #ifdef DEBUG for simple debug messages. include "Debug.hh" and use fbdbg instead of cerr for debug.
2009-10-03compile fixes for sun compiler 5.10: complains about 'not beeing able to ↵Mathias Gumz1-1/+1
initialize this from that'
2009-02-27Ignore EnterNotify on UnmapJim Ramsay1-0/+5
This is the basic condition that was first noticed because of the effect of the ClientMenu window unmapping and the resulting EnterNotify event stealing focus from the window selected in that menu. But to be complete, any window unmapping should cause focus to move to the next in the last-recently-focused window list, not the one that happens to be beneath the mouse cursor.
2008-11-02don't reload keys file on modifier map events, just re-grab keysMark Tiefenbruck1-1/+1
2008-10-01restore missing config files on reconfigureMark Tiefenbruck1-0/+1
2008-09-28Changed workspace area signal to use the new signal systemHenrik Kinnunen1-11/+11
2008-09-28Change focused signal to use the new signal systemHenrik Kinnunen1-10/+13
2008-09-21Changed client list signal in BScreen to use the new signal systemHenrik Kinnunen1-7/+11
2008-09-21Changed workspace names signal in BScreen to use the new signal systemHenrik Kinnunen1-8/+11
2008-09-21Changed current workspace signal in BScreen to use the new signal systemHenrik Kinnunen1-9/+13
2008-09-21no virtuals needed Signals, added leaveAll for SignalTracker which must be ↵Henrik Kinnunen1-3/+2
used before all screens dies.
2008-09-21fix a few things with new signal codeMark Tiefenbruck1-0/+3
2008-09-18Changed workspace count signal in BScreen to use the new signal system.Henrik Kinnunen1-8/+13
2008-09-11try to fix some weird focus issuesMark Tiefenbruck1-0/+1
2008-09-03add check to configure script to detect old versions of XrandrRelease-1_1_0_1Mark Tiefenbruck1-0/+2
2008-08-22add -sync command line option for debugging X issuesMark Tiefenbruck1-2/+4
2008-08-22accidentally left this onMark Tiefenbruck1-1/+1
2008-08-22move fullscreen and maximization handling to FbWinFrameMark Tiefenbruck1-1/+1
2008-08-19update keys file for changes to NextWindow syntaxMark Tiefenbruck1-1/+1
2008-08-16cosmetic changesMark Tiefenbruck1-13/+9
2008-08-14cleanup of some filesMathias Gumz1-1/+1
2008-08-13make sure apps, overlay, and windowmenu get copied on new installationsMark Tiefenbruck1-1/+2
2008-08-06use the same options in Slit and Toolbar placement menusMark Tiefenbruck1-1/+1
2008-06-20move default window menu to ~/.fluxbox/windowmenuMark Tiefenbruck1-19/+18
2008-05-15need to reset keybindings when keymap changesMark Tiefenbruck1-1/+1
2008-05-12only reload the keys file if the contents have changedMark Tiefenbruck1-3/+3
2008-05-12refactor menu reloading, added FbTk::AutoReloadHelperMark Tiefenbruck1-59/+0
2008-05-11reuse some menu pointers instead of using delete/newMark Tiefenbruck1-3/+0
2008-05-11remove some more useless codeMark Tiefenbruck1-21/+5