aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.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/Slit.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/Slit.hh')
-rw-r--r--src/Slit.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Slit.hh b/src/Slit.hh
index 0b476b5..d882309 100644
--- a/src/Slit.hh
+++ b/src/Slit.hh
@@ -134,6 +134,7 @@ private:
134 void screenSizeChanged(BScreen &screen); 134 void screenSizeChanged(BScreen &screen);
135 135
136 void updateAlpha(); 136 void updateAlpha();
137 void updateCrossingState();
137 void clearWindow(); 138 void clearWindow();
138 void setupMenu(); 139 void setupMenu();
139 140