aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Hooks/FadeInactive.hs
diff options
context:
space:
mode:
Diffstat (limited to 'XMonad/Hooks/FadeInactive.hs')
-rw-r--r--XMonad/Hooks/FadeInactive.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/XMonad/Hooks/FadeInactive.hs b/XMonad/Hooks/FadeInactive.hs
index 343b3ee..a7250cf 100644
--- a/XMonad/Hooks/FadeInactive.hs
+++ b/XMonad/Hooks/FadeInactive.hs
@@ -84,7 +84,7 @@ fadeInactiveLogHook = fadeOutLogHook . fadeIf isUnfocused
-- | returns True if the window doesn't have the focus.
isUnfocused :: Query Bool
-isUnfocused = ask >>= \w -> liftX . gets $ maybe False (w /=) . W.peek . windowset
+isUnfocused = ask >>= \w -> liftX . gets $ maybe True (w /=) . W.peek . windowset
-- | fades out every window by the amount returned by the query.
fadeOutLogHook :: Query Rational -> X ()