diff options
Diffstat (limited to 'XMonad/Actions/TagWindows.hs')
-rw-r--r-- | XMonad/Actions/TagWindows.hs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/XMonad/Actions/TagWindows.hs b/XMonad/Actions/TagWindows.hs index 030338c..59ba9c7 100644 --- a/XMonad/Actions/TagWindows.hs +++ b/XMonad/Actions/TagWindows.hs @@ -26,14 +26,11 @@ module XMonad.Actions.TagWindows ( ) where import Data.List (nub,concat,sortBy) +import Control.Monad -import Control.Monad.State import XMonad.StackSet hiding (filter) import XMonad.Operations (windows, withFocused) -import Graphics.X11.Xlib -import Graphics.X11.Xlib.Extras - import XMonad.Prompt import XMonad hiding (workspaces) @@ -88,7 +85,7 @@ getTags w = withDisplay $ \d -> -- | check a window for the given tag hasTag :: String -> Window -> X Bool -hasTag s w = (s `elem`) `liftM` getTags w +hasTag s w = (s `elem`) `fmap` getTags w -- | add a tag to the existing ones addTag :: String -> Window -> X () |