aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTool.hh
diff options
context:
space:
mode:
authorThomas Lübking <thomas.luebking@gmail.com>2016-09-24 17:36:09 (GMT)
committerThomas Lübking <thomas.luebking@gmail.com>2016-10-02 13:53:24 (GMT)
commit93a91904e631c0ae95242c6de95bf8a1b3d90c20 (patch)
treeffe1500ad7ef11d8361bea73274a64b1f29ba957 /src/IconbarTool.hh
parent7d30d0007d4aed25be7c6b636a21a84855cd349d (diff)
downloadfluxbox-93a91904e631c0ae95242c6de95bf8a1b3d90c20.zip
fluxbox-93a91904e631c0ae95242c6de95bf8a1b3d90c20.tar.bz2
compress resize signals
typically buttons will call for this quite some, eg. when switching workspace or (now) when altering the focused window. This compresses various changes happening at the same time and re-layout the toolbar only once for them
Diffstat (limited to 'src/IconbarTool.hh')
-rw-r--r--src/IconbarTool.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/IconbarTool.hh b/src/IconbarTool.hh
index 6044005..a461ce5 100644
--- a/src/IconbarTool.hh
+++ b/src/IconbarTool.hh
@@ -29,6 +29,7 @@
29#include "FbTk/Container.hh" 29#include "FbTk/Container.hh"
30#include "FbTk/CachedPixmap.hh" 30#include "FbTk/CachedPixmap.hh"
31#include "FbTk/Resource.hh" 31#include "FbTk/Resource.hh"
32#include "FbTk/Timer.hh"
32 33
33#include <map> 34#include <map>
34 35
@@ -104,6 +105,9 @@ private:
104 105
105 void themeReconfigured(); 106 void themeReconfigured();
106 107
108 FbTk::Timer m_resizeSig_timer;
109 void emitResizeSig();
110
107 BScreen &m_screen; 111 BScreen &m_screen;
108 FbTk::Container m_icon_container; 112 FbTk::Container m_icon_container;
109 IconbarTheme &m_theme; 113 IconbarTheme &m_theme;