all repos — fluxbox @ 9f6621a599688ec87d0fe3d758a57d2aea4e730e

custom fork of the fluxbox windowmanager

init m_update
fluxgen fluxgen
commit

9f6621a599688ec87d0fe3d758a57d2aea4e730e

parent

f5ed316411c9c7d713f8f80be9a21bbc6b692b2c

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M src/AtomHandler.hhsrc/AtomHandler.hh

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: AtomHandler.hh,v 1.12 2003/07/28 15:06:33 rathnor Exp $ +// $Id: AtomHandler.hh,v 1.13 2004/01/09 02:06:55 fluxgen Exp $ #ifndef ATOMHANDLER_HH #define ATOMHANDLER_HH

@@ -32,6 +32,7 @@ class BScreen;

class AtomHandler { public: + virtual ~AtomHandler() { } virtual void initForScreen(BScreen &screen) = 0;

@@ -58,6 +59,8 @@

/// should this object be updated or not? bool update() const { return m_update; } protected: + AtomHandler():m_update(true) { } + void disableUpdate() { m_update = false; } void enableUpdate() { m_update = true; } private: