aboutsummaryrefslogtreecommitdiff
path: root/src/Remember.cc
AgeCommit message (Collapse)AuthorFilesLines
2011-11-01Attach a modifiedSig handler to the session.appsFile resourcePavel Labath1-11/+6
2011-11-01Store menus if smart pointers (RefCount)Pavel Labath1-2/+2
This was originally intended to be a bugfix for an memory error reported by valgrind (accessing freed memory). While debugging it, I found the menu ownership semantics confusing (setInternalMenu() et al.), so I decided to get rid of it and store it in smart pointers everywhere. Looking back, I'm not sure if this was worth all the trouble, but the good news is that the valgrind error disappeared. :)
2011-05-10Make RefCount<> more sensiblePavel Labath1-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-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-03allow to override 'FocusNewWindow' via .fluxbox/appsPeter Hercek1-0/+24
2011-02-03bug fix: semantic differences between WinState::Decoration and Remember::save()Peter Hercek1-11/+5
2010-09-13code simplificationMathias Gumz1-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-09added FbTk::Util::clamp() and simplified related codeMathias Gumz1-20/+11
2010-09-08improved 'escapeRememberChars()' routine by traversing the string only onceMathias Gumz1-9/+14
removed obsolete 'getuint()' function
2010-09-08avoid code duplicationMathias Gumz1-3/+3
2010-03-17Changed #ifdef DEBUG ... cerr << to using fbdbg.Henrik Kinnunen1-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-30cosmetic fixes: removed redundant ';' + some whitespacesMathias Gumz1-3/+3
2008-08-30use FbMenu::window instead of WindowCmd<>::window for displaying items in ↵Mark Tiefenbruck1-10/+9
the window menu
2008-08-27make FbWinFrame and FluxboxWindow share a WindowState objectMark Tiefenbruck1-4/+4
2008-08-27move FbWinFrame::State class to a new fileMark Tiefenbruck1-20/+20
2008-08-22move fullscreen and maximization handling to FbWinFrameMark Tiefenbruck1-10/+12
2008-08-20fix match limits in apps file, plus some documentationMark Tiefenbruck1-0/+10
2008-08-19add [transient] tag to apps file to match transient windowsMark Tiefenbruck1-18/+27
2008-08-18combined code for saved window positions and MoveTo key commandMark Tiefenbruck1-61/+30
added left, right, top, and bottom center reference points
2008-08-16some cleanupMark Tiefenbruck1-4/+4
2008-08-15move getDecoMaskFromString to FbWinFrameMark Tiefenbruck1-1/+1
2008-08-14cleanup of some filesMathias Gumz1-141/+298
2008-08-05add SetLayer key commandMark Tiefenbruck1-18/+2
2008-05-25another fix for saving and restoring window dimensionsMark Tiefenbruck1-2/+1
2008-05-12some minor changesMark Tiefenbruck1-3/+6
2008-05-12use AutoReloadHelper in apps file, check for changes automaticallyMark Tiefenbruck1-14/+14
2008-02-04Fix crash with apps reloading.Tomas Janousek1-3/+8
Yeah, we shouldn't delete pointers that are mentioned elsewhere... Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-01-11make FbTk::Command a template class, split parsing information out of ↵Mark Tiefenbruck1-1/+1
ObjectRegistry
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2007-12-30removed some unneeded headersMathias Gumz1-6/+2
2007-12-27simplify the window transparency menu and handling a bitMark Tiefenbruck1-1/+1
2007-12-23make FbWinFrame aware of the decoration stateMark Tiefenbruck1-11/+11
2007-12-18holding control will now keep the menu openMark Tiefenbruck1-2/+3
2007-12-17fix startup items in apps file with specified screen numberMark Tiefenbruck1-1/+1
2007-10-24introduced workspacename for ClientPattern, and some miscellaneous cleanupmarkt1-3/+4
2007-10-23allow remembering minimized, maximized, and fullscreen statemarkt1-2/+97
2007-10-14add support for transient windows in client patterns, and merge a few more ↵markt1-11/+4
changes from pre-devel
2007-10-13merged changes from pre-develmarkt1-24/+21
2007-09-08fix crash when changing toolbar visibility with empty toolbar.toolsmarkt1-1/+1
2007-08-05remember role too by defaultsimonb1-13/+17
2007-08-05remember on the class AND instance name by defaultsimonb1-1/+8
2007-07-06we know better than MPlayermarkt1-6/+6
2007-07-02use old size/position in apps file when the window is shaded or maximizedmarkt1-2/+2
2007-06-29updates for compiling with gcc 4.3markt1-0/+5
2007-06-16moved function so fluxbox compiles with --disable-remembermarkt1-27/+1
2007-06-08don't tab transient windows from apps file, and change their layers when the ↵markt1-2/+4
main window does
2007-03-18changed remembering of positions so it only remembers position relative to ↵markt1-2/+6
the current head that way, the windows don't get misplaced when the window is on second head, or when not using the head anymore
2007-03-06session.screen0.defaultDeco now understands TAB, BORDER, etc.markt1-34/+31
2007-02-05some fixes for grouping with the apps filemarkt1-29/+48
2007-01-07per-window transparency, including apps and menu support, plus some simonb1-0/+50
infrastructure and related changes. Thanks for original patch from Julien Trolet, dmxen at sourceforge dot net