aboutsummaryrefslogtreecommitdiff
path: root/src/RootTheme.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-01-02 13:29:01 (GMT)
committerfluxgen <fluxgen>2004-01-02 13:29:01 (GMT)
commit345ef845c94bb4d77ed210e2c7a2c252d3068d59 (patch)
tree48df8829a4a14fc744b901b1b3c30990bd6c4862 /src/RootTheme.hh
parente9b5ad4e401e8742b0871889476ddc4eeae60b08 (diff)
downloadfluxbox_pavel-345ef845c94bb4d77ed210e2c7a2c252d3068d59.zip
fluxbox_pavel-345ef845c94bb4d77ed210e2c7a2c252d3068d59.tar.bz2
lock roottheme so it doesn't get run twice
Diffstat (limited to 'src/RootTheme.hh')
-rw-r--r--src/RootTheme.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/RootTheme.hh b/src/RootTheme.hh
index 3f12358..686a4ed 100644
--- a/src/RootTheme.hh
+++ b/src/RootTheme.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: RootTheme.hh,v 1.5 2003/09/12 23:33:13 fluxgen Exp $ 22// $Id: RootTheme.hh,v 1.6 2004/01/02 13:28:38 fluxgen Exp $
23 23
24#ifndef ROOTTHEME_HH 24#ifndef ROOTTHEME_HH
25#define ROOTTHEME_HH 25#define ROOTTHEME_HH
@@ -44,11 +44,13 @@ public:
44 void reconfigTheme(); 44 void reconfigTheme();
45 45
46 GC opGC() const { return m_opgc.gc(); } 46 GC opGC() const { return m_opgc.gc(); }
47 47 //!! TODO we should need this later
48 void lock(bool value) { m_lock = value; }
48private: 49private:
49 FbTk::ThemeItem<std::string> m_root_command; 50 FbTk::ThemeItem<std::string> m_root_command;
50 std::string &m_screen_root_command; ///< string to execute and override theme rootCommand 51 std::string &m_screen_root_command; ///< string to execute and override theme rootCommand
51 FbTk::GContext m_opgc; 52 FbTk::GContext m_opgc;
53 bool m_lock;
52}; 54};
53 55
54#endif // ROOTTHEME_HH 56#endif // ROOTTHEME_HH