X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=util%2Fepist%2Fepist.hh;h=64a0be9a3d52a9594098b9b01cc702b276110e42;hb=217488ee3e1a7246bdfadb6a56f83a4a50a7c180;hp=c888ac38f548459d58126a5e2aaba8fe8e7a9c1b;hpb=5b088be950ce6e6a496b573e81dabeb54bd740ef;p=chaz%2Fopenbox diff --git a/util/epist/epist.hh b/util/epist/epist.hh index c888ac38..64a0be9a 100644 --- a/util/epist/epist.hh +++ b/util/epist/epist.hh @@ -1,4 +1,4 @@ -// -*- mode: C++; indent-tabs-mode: nil; -*- +// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- // epist.hh for Epistrophy - a key handler for NETWM/EWMH window managers. // Copyright (c) 2002 - 2002 Ben Jansens // @@ -33,6 +33,7 @@ extern "C" { #include "actions.hh" #include "window.hh" #include "keytree.hh" +#include "config.hh" #include "../../src/BaseDisplay.hh" @@ -45,6 +46,7 @@ private: XAtom *_xatom; char **_argv; keytree *_ktree; + Config *_config; typedef std::vector ScreenList; ScreenList _screens; @@ -82,7 +84,8 @@ public: const ActionList &actions(void) { return _actions; } keytree &getKeyTree(void) { return *_ktree; } - + inline const Config *getConfig(void) { return _config; } + WindowList& clientsList() { return _clients; } WindowList::iterator& activeWindow() { return _active; } };