We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d014d7a commit da3e4beCopy full SHA for da3e4be
XMonad/Layout/Columns.hs
@@ -47,7 +47,7 @@ import Control.Monad (guard)
47
import Control.Monad.State (modify)
48
import Control.Monad.Trans.Maybe (MaybeT (..))
49
import Data.Foldable (Foldable (..))
50
-import Data.List (scanl', singleton)
+import Data.List (scanl')
51
import Data.Maybe (listToMaybe)
52
import Data.Ratio ((%))
53
import XMonad
@@ -358,7 +358,7 @@ mapWindow :: (Window -> Window) -> Columns -> Columns
358
mapWindow = fmap . fmap . fmap . fmap
359
360
columnsToWindows :: Columns -> [Window]
361
-columnsToWindows = foldMap (singleton . snd) . foldMap snd
+columnsToWindows = foldMap ((:[]) . snd) . foldMap snd
362
363
swapWindowBetween ::
364
Window ->
0 commit comments