aboutsummaryrefslogtreecommitdiff
path: root/src/Keys.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Keys.hh')
-rw-r--r--src/Keys.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Keys.hh b/src/Keys.hh
index 03a15dd..9502643 100644
--- a/src/Keys.hh
+++ b/src/Keys.hh
@@ -83,6 +83,9 @@ public:
83 */ 83 */
84 void reconfigure(); 84 void reconfigure();
85 void keyMode(const std::string& keyMode); 85 void keyMode(const std::string& keyMode);
86
87 bool inKeychain() const { return saved_keymode != 0; }
88
86private: 89private:
87 class t_key; // helper class to build a 'keytree' 90 class t_key; // helper class to build a 'keytree'
88 typedef std::map<std::string, t_key *> keyspace_t; 91 typedef std::map<std::string, t_key *> keyspace_t;
@@ -109,7 +112,7 @@ private:
109 keyspace_t m_map; 112 keyspace_t m_map;
110 113
111 // former doAction static var, we need to access it from deleteTree 114 // former doAction static var, we need to access it from deleteTree
112 t_key *next_key; 115 t_key *next_key, *saved_keymode;
113 116
114 WindowMap m_window_map; 117 WindowMap m_window_map;
115 HandlerMap m_handler_map; 118 HandlerMap m_handler_map;