aboutsummaryrefslogtreecommitdiff
path: root/src/Toolbar.hh
diff options
context:
space:
mode:
authorThomas Lübking <thomas.luebking@gmail.com>2016-08-14 11:42:27 (GMT)
committerMathias Gumz <akira@fluxbox.org>2016-08-26 06:06:47 (GMT)
commit10a957473803e87f119c363dc19efe92ea938a1d (patch)
tree42dc0c55521d6a8736e1cde00374e503ca15c3df /src/Toolbar.hh
parentfe8ff8729299a4fd4371394d3ca9102ece22fefb (diff)
downloadfluxbox-10a957473803e87f119c363dc19efe92ea938a1d.zip
fluxbox-10a957473803e87f119c363dc19efe92ea938a1d.tar.bz2
Fix autohiding/raising timer logics
Trying to control a timer bound to an unconditional toggle, caused by opposing events does not work. <- That's a period. The toolbar implementation would act too seldom, the slit to often. Instead, fire the timer whenever the state does not match the event and bind it to a function that queries the pointer position and acts accordingly.
Diffstat (limited to 'src/Toolbar.hh')
-rw-r--r--src/Toolbar.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Toolbar.hh b/src/Toolbar.hh
index 47569f6..c31a85f 100644
--- a/src/Toolbar.hh
+++ b/src/Toolbar.hh
@@ -143,6 +143,8 @@ private:
143 void updateStrut(); 143 void updateStrut();
144 void updateAlpha(); 144 void updateAlpha();
145 145
146 void updateCrossingState();
147
146 /// Called when the screen changed property. 148 /// Called when the screen changed property.
147 void screenChanged(BScreen &screen); 149 void screenChanged(BScreen &screen);
148 150