aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2008-05-07 10:18:54 +0200
committerSpencer Janssen <sjanssen@cse.unl.edu>2008-05-07 10:18:54 +0200
commite85348ba27b3ed209a8498d25b6ecbf627e0c4c4 (patch)
tree8501d97b2410df442e1c89b39deb3cbc9e341a53
parent5ec0641c2201f9feb48e5c5992cf1063633f80dc (diff)
downloadXMonadContrib-e85348ba27b3ed209a8498d25b6ecbf627e0c4c4.tar.gz
XMonadContrib-e85348ba27b3ed209a8498d25b6ecbf627e0c4c4.tar.xz
XMonadContrib-e85348ba27b3ed209a8498d25b6ecbf627e0c4c4.zip
Use the named constant 'none' rather than 0
darcs-hash:20080507081854-a5988-e08995616a8cc9f3cc48b2ff9f25eb257240c19f.gz
-rw-r--r--XMonad/Hooks/EwmhDesktops.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/XMonad/Hooks/EwmhDesktops.hs b/XMonad/Hooks/EwmhDesktops.hs
index 98ae410..562ce7b 100644
--- a/XMonad/Hooks/EwmhDesktops.hs
+++ b/XMonad/Hooks/EwmhDesktops.hs
@@ -200,7 +200,7 @@ setSupported = withDisplay $ \dpy -> do
setActiveWindow :: X ()
setActiveWindow = withWindowSet $ \s -> withDisplay $ \dpy -> do
- let w = fromMaybe 0 (W.peek s)
+ let w = fromMaybe none (W.peek s)
r <- asks theRoot
a <- getAtom "_NET_ACTIVE_WINDOW"
c <- getAtom "WINDOW"