diff options
author | Thomas Lübking <thomas.luebking@gmail.com> | 2016-08-03 21:55:26 (GMT) |
---|---|---|
committer | Thomas Lübking <thomas.luebking@gmail.com> | 2016-08-06 15:09:29 (GMT) |
commit | 59d9b0703ba8efb24893528f2eb9c84aaa8f5f83 (patch) | |
tree | 30fd4de07fa1fdaaac4420c218e7fae3ff3a0382 /src/WinClient.hh | |
parent | a8b0b3632b4ed6e6fb5f8aa26a6c0ef151a30144 (diff) | |
download | fluxbox-59d9b0703ba8efb24893528f2eb9c84aaa8f5f83.zip fluxbox-59d9b0703ba8efb24893528f2eb9c84aaa8f5f83.tar.bz2 |
delay title updates
Notably shells will cause brief interim titles when calling
short-lived commands (try "ls"...)
This covers such by waiting 100ms after every title update before
reacting (the title will have returned in the mentioned cases, the UI
remains steady)
Diffstat (limited to 'src/WinClient.hh')
-rw-r--r-- | src/WinClient.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/WinClient.hh b/src/WinClient.hh index 5a29a5e..c46bddf 100644 --- a/src/WinClient.hh +++ b/src/WinClient.hh | |||
@@ -149,6 +149,9 @@ private: | |||
149 | // some transient (or us) is no longer modal | 149 | // some transient (or us) is no longer modal |
150 | void removeModal() { --m_modal_count; } | 150 | void removeModal() { --m_modal_count; } |
151 | 151 | ||
152 | FbTk::Timer m_title_update_timer; | ||
153 | void emitTitleSig(); | ||
154 | |||
152 | // number of transients which we are modal for | 155 | // number of transients which we are modal for |
153 | int m_modal_count; | 156 | int m_modal_count; |
154 | bool m_modal; | 157 | bool m_modal; |