Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-01-28 | Fix mishandled [maxmized] statement in apps file | Mathias Gumz | 1 | -235/+246 | |
In f64727ca I removed one 'else' too much. As a result all [maximized] lines were mapped to MAX_NONE. Fixed. The rest of the commit is just some cosmetic to reduce indentation and shorten function names, easier to read. | |||||
2015-01-21 | Fix segfault on shutdown | Mathias Gumz | 1 | -5/+5 | |
There was a problem deep within how the menus were connected and when and what gets deleted. It was clearly related to a menu which was kind of global. In order to better understand the code flow I eliminated the ExtraMenu code: it was used only to get the Remember-Menu into the Window-Menu. Instead of having a singleton of the Remember-Menu and fight against the shaky interconnections we just create a new one on demand and delete when the menu gets deleted. Looks like this fixes the problem. The menu code needs more love anyway. Closes #1118 | |||||
2015-01-21 | Cosmetic: less code bloat | Mathias Gumz | 1 | -69/+57 | |
2015-01-16 | Fix semantic errors (wrong variable names etc) | Mathias Gumz | 1 | -1/+2 | |
Uncovered by coverity-scan. | |||||
2015-01-16 | Refactor: move some menu-creation functions to MenuCreator | Mathias Gumz | 1 | -1/+2 | |
Another patch to trim down the code that needs to be part of BScreen | |||||
2015-01-15 | Refactor menu code: be more explicit and compact | Mathias Gumz | 1 | -20/+15 | |
This commit is a preparation step for some menu cleanup ahead. To make it easier to understand which types of MenuItems are added where and when, I converted the overloaded FbTk::Menu::insert() functions into explicit ones (Menu::insertSubmenu(), Menu::insertItem(), etc. ). This makes it possible to just grep for 'insertSubmenu()'. Side effect this commit: it trims down the very verbose creation of menu items in regards to how the labels are created. Minor: FbTk::Menu::shown and FbTk::Menu::s_focused are moved out of the class. | |||||
2015-01-03 | Remove various unused variables | Mathias Gumz | 1 | -9/+6 | |
Clang and Gcc-4.9 complaint about some unused variables here and there. And who are we to not make a compiler happy :) | |||||
2013-05-26 | build-sys: use AC_USE_SYSTEM_EXTENSIONS | Sami Kerola | 1 | -5/+0 | |
The earlier _GNU_SOURCE definitions possibly did not take effect everywhere where it was intended. | |||||
2013-02-10 | Remove unused variables, cosmetics | Mathias Gumz | 1 | -16/+16 | |
2012-04-06 | Allow percentage values for some Window commands | Lajos Koszti | 1 | -28/+76 | |
2012-01-04 | Pre-increment non-primitive types. | Ryan Pavlik | 1 | -4/+4 | |
Found with cppcheck: "Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code." | |||||
2011-05-10 | Make RefCount<> more sensible | Pavel Labath | 1 | -4/+4 | |
the previous version of operator*() made no sense. E.g., it violated the invariant (*ptr).foo <=> ptr->foo. The dereferencing operator now returns a reference to the pointed-to object, rather than a pointer to it. I also added a bool conversion operator, which can be used in testing the NULL-ness of the pointer. Anyone wondering if that could be done in a simpler way is encouraged to read <http://www.artima.com/cppsource/safebool.html>. And, finally, I removed the mutable flag from the m_data member, since it does not need it. | |||||
2011-03-23 | compile fix: sunCC 5.11 (sunstudio 12) compiles and links again | Mathias Gumz | 1 | -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-03 | allow to override 'FocusNewWindow' via .fluxbox/apps | Peter Hercek | 1 | -0/+24 | |
2011-02-03 | bug fix: semantic differences between WinState::Decoration and Remember::save() | Peter Hercek | 1 | -11/+5 | |
2010-09-13 | code simplification | Mathias Gumz | 1 | -0/+2 | |
we do not need a std::map just to store an attribute on an AtomHandler, it makes housekeeping just more annoying. | |||||
2010-09-09 | added FbTk::Util::clamp() and simplified related code | Mathias Gumz | 1 | -20/+11 | |
2010-09-08 | improved 'escapeRememberChars()' routine by traversing the string only once | Mathias Gumz | 1 | -9/+14 | |
removed obsolete 'getuint()' function | |||||
2010-09-08 | avoid code duplication | Mathias Gumz | 1 | -3/+3 | |
2010-03-17 | Changed #ifdef DEBUG ... cerr << to using fbdbg. | Henrik Kinnunen | 1 | -12/+9 | |
This will reduce the number of #ifdef DEBUG for simple debug messages. include "Debug.hh" and use fbdbg instead of cerr for debug. | |||||
2009-09-30 | cosmetic fixes: removed redundant ';' + some whitespaces | Mathias Gumz | 1 | -3/+3 | |
2008-08-30 | use FbMenu::window instead of WindowCmd<>::window for displaying items in ↵ | Mark Tiefenbruck | 1 | -10/+9 | |
the window menu | |||||
2008-08-27 | make FbWinFrame and FluxboxWindow share a WindowState object | Mark Tiefenbruck | 1 | -4/+4 | |
2008-08-27 | move FbWinFrame::State class to a new file | Mark Tiefenbruck | 1 | -20/+20 | |
2008-08-22 | move fullscreen and maximization handling to FbWinFrame | Mark Tiefenbruck | 1 | -10/+12 | |
2008-08-20 | fix match limits in apps file, plus some documentation | Mark Tiefenbruck | 1 | -0/+10 | |
2008-08-19 | add [transient] tag to apps file to match transient windows | Mark Tiefenbruck | 1 | -18/+27 | |
2008-08-18 | combined code for saved window positions and MoveTo key command | Mark Tiefenbruck | 1 | -61/+30 | |
added left, right, top, and bottom center reference points | |||||
2008-08-16 | some cleanup | Mark Tiefenbruck | 1 | -4/+4 | |
2008-08-15 | move getDecoMaskFromString to FbWinFrame | Mark Tiefenbruck | 1 | -1/+1 | |
2008-08-14 | cleanup of some files | Mathias Gumz | 1 | -141/+298 | |
2008-08-05 | add SetLayer key command | Mark Tiefenbruck | 1 | -18/+2 | |
2008-05-25 | another fix for saving and restoring window dimensions | Mark Tiefenbruck | 1 | -2/+1 | |
2008-05-12 | some minor changes | Mark Tiefenbruck | 1 | -3/+6 | |
2008-05-12 | use AutoReloadHelper in apps file, check for changes automatically | Mark Tiefenbruck | 1 | -14/+14 | |
2008-02-04 | Fix crash with apps reloading. | Tomas Janousek | 1 | -3/+8 | |
Yeah, we shouldn't delete pointers that are mentioned elsewhere... Signed-off-by: Tomas Janousek <tomi@nomi.cz> | |||||
2008-01-11 | make FbTk::Command a template class, split parsing information out of ↵ | Mark Tiefenbruck | 1 | -1/+1 | |
ObjectRegistry | |||||
2008-01-04 | remove old svn $Id$ tags | Mark Tiefenbruck | 1 | -2/+0 | |
2007-12-30 | removed some unneeded headers | Mathias Gumz | 1 | -6/+2 | |
2007-12-27 | simplify the window transparency menu and handling a bit | Mark Tiefenbruck | 1 | -1/+1 | |
2007-12-23 | make FbWinFrame aware of the decoration state | Mark Tiefenbruck | 1 | -11/+11 | |
2007-12-18 | holding control will now keep the menu open | Mark Tiefenbruck | 1 | -2/+3 | |
2007-12-17 | fix startup items in apps file with specified screen number | Mark Tiefenbruck | 1 | -1/+1 | |
2007-10-24 | introduced workspacename for ClientPattern, and some miscellaneous cleanup | markt | 1 | -3/+4 | |
2007-10-23 | allow remembering minimized, maximized, and fullscreen state | markt | 1 | -2/+97 | |
2007-10-14 | add support for transient windows in client patterns, and merge a few more ↵ | markt | 1 | -11/+4 | |
changes from pre-devel | |||||
2007-10-13 | merged changes from pre-devel | markt | 1 | -24/+21 | |
2007-09-08 | fix crash when changing toolbar visibility with empty toolbar.tools | markt | 1 | -1/+1 | |
2007-08-05 | remember role too by default | simonb | 1 | -13/+17 | |
2007-08-05 | remember on the class AND instance name by default | simonb | 1 | -1/+8 | |