aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.hh
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-10-05 06:28:47 (GMT)
committerrathnor <rathnor>2003-10-05 06:28:47 (GMT)
commitc516aa13a134ff311a1ce56976c030ba016bcfda (patch)
tree08b1b090383bc391362bd2aa29d742521c24e68e /src/fluxbox.hh
parentfa4328d8620959dce8a53b40c743fba691cfe471 (diff)
downloadfluxbox_pavel-c516aa13a134ff311a1ce56976c030ba016bcfda.zip
fluxbox_pavel-c516aa13a134ff311a1ce56976c030ba016bcfda.tar.bz2
fix reading of auto raise delay
Diffstat (limited to 'src/fluxbox.hh')
-rw-r--r--src/fluxbox.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fluxbox.hh b/src/fluxbox.hh
index 5d3f505..5fc01e0 100644
--- a/src/fluxbox.hh
+++ b/src/fluxbox.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: fluxbox.hh,v 1.73 2003/10/05 02:31:23 rathnor Exp $ 25// $Id: fluxbox.hh,v 1.74 2003/10/05 06:28:47 rathnor Exp $
26 26
27#ifndef FLUXBOX_HH 27#ifndef FLUXBOX_HH
28#define FLUXBOX_HH 28#define FLUXBOX_HH
@@ -143,7 +143,7 @@ public:
143 inline int getDesktopLayer() const { return 12; } 143 inline int getDesktopLayer() const { return 12; }
144 144
145 145
146 inline const timeval &getAutoRaiseDelay() const { return resource.auto_raise_delay; } 146 inline time_t getAutoRaiseDelay() const { return *m_rc_auto_raise_delay; }
147 147
148 inline unsigned int getCacheLife() const { return *m_rc_cache_life * 60000; } 148 inline unsigned int getCacheLife() const { return *m_rc_cache_life * 60000; }
149 inline unsigned int getCacheMax() const { return *m_rc_cache_max; } 149 inline unsigned int getCacheMax() const { return *m_rc_cache_max; }
@@ -226,7 +226,6 @@ private:
226 226
227 struct resource { 227 struct resource {
228 Time double_click_interval; 228 Time double_click_interval;
229 timeval auto_raise_delay;
230 long update_delay_time; 229 long update_delay_time;
231 } resource; 230 } resource;
232 231
@@ -261,6 +260,7 @@ private:
261 260
262 FbTk::Resource<TitlebarList> m_rc_titlebar_left, m_rc_titlebar_right; 261 FbTk::Resource<TitlebarList> m_rc_titlebar_left, m_rc_titlebar_right;
263 FbTk::Resource<unsigned int> m_rc_cache_life, m_rc_cache_max; 262 FbTk::Resource<unsigned int> m_rc_cache_life, m_rc_cache_max;
263 FbTk::Resource<time_t> m_rc_auto_raise_delay;
264 264
265 265
266 std::map<Window, WinClient *> m_window_search; 266 std::map<Window, WinClient *> m_window_search;