aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.hh
diff options
context:
space:
mode:
authormarkt <markt>2006-07-23 09:51:54 (GMT)
committermarkt <markt>2006-07-23 09:51:54 (GMT)
commitbe2f40a10d9c11a56c0c53307be5557a127027e9 (patch)
tree0cd5067c32dc42dbcbb59ad32d7d2a08f44cdf6f /src/fluxbox.hh
parentb0b28c4bbb20ffcf56b445caca112d8866c9c788 (diff)
downloadfluxbox-be2f40a10d9c11a56c0c53307be5557a127027e9.zip
fluxbox-be2f40a10d9c11a56c0c53307be5557a127027e9.tar.bz2
use a timer to make sure focus always reverts if possible
Diffstat (limited to 'src/fluxbox.hh')
-rw-r--r--src/fluxbox.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fluxbox.hh b/src/fluxbox.hh
index 7fa5f5d..e7bc18d 100644
--- a/src/fluxbox.hh
+++ b/src/fluxbox.hh
@@ -185,6 +185,7 @@ public:
185 void attachSignals(WinClient &winclient); 185 void attachSignals(WinClient &winclient);
186 186
187 void timed_reconfigure(); 187 void timed_reconfigure();
188 void revert_focus();
188 189
189 bool isStartup() const { return m_starting; } 190 bool isStartup() const { return m_starting; }
190 bool isRestarting() const { return m_restarting; } 191 bool isRestarting() const { return m_restarting; }
@@ -289,7 +290,9 @@ private:
289 290
290 XEvent m_last_event; 291 XEvent m_last_event;
291 292
292 FbTk::Timer m_reconfig_timer; ///< when we execute reconfig command we must wait at least to next event round 293 ///< when we execute reconfig command we must wait until next event round
294 FbTk::Timer m_reconfig_timer, m_revert_timer;
295 BScreen *m_revert_screen;
293 296
294 std::auto_ptr<Keys> m_key; 297 std::auto_ptr<Keys> m_key;
295 298