88a89,96
> -- | returns True if the window is in the tiling layer.
> isTiled :: Query Bool
> isTiled = ask >>= \w -> liftX . gets $ not . M.member w . W.floating . windowset
> 
> -- | returns True if the window is in the tiling layer and not focused.
> isTiledAndUnfocused :: Query Bool
> isTiledAndUnfocused = liftM2 (&&) isTiled isUnfocused
> 

