improved hover detection on systray

This commit is contained in:
Simon
2021-01-29 15:19:25 +01:00
parent 3b89d14b9c
commit d81229fa7f
2 changed files with 5 additions and 4 deletions
+4 -4
View File
@@ -598,10 +598,10 @@ function serve_region() {
fi
# Don't hide if the cursor is still above the window
if [ $_IS_HIDDEN -ne 0 ] &&
[ $_hide -eq 0 ] &&
[ $WINDOW -eq $WIN_ID ]; then
_hide=1
if [ $_IS_HIDDEN -ne 0 ] && [ $_hide -eq 0 ] ; then
if [ $WINDOW -eq $WIN_ID ] || [ $WINDOW -eq $WIN_ID_MOVEALONG_ONE ] ; then
_hide=1
fi
fi
# Only do something if necessary