diff options
Diffstat (limited to 'XMonad')
-rw-r--r-- | XMonad/Layout.hs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/XMonad/Layout.hs b/XMonad/Layout.hs index 2347cb9..056dd5c 100644 --- a/XMonad/Layout.hs +++ b/XMonad/Layout.hs @@ -157,8 +157,10 @@ instance Message NextNoWrap -- This has lots of pseudo duplicated code, we must find a better way instance (LayoutClass l a, LayoutClass r a) => LayoutClass (Choose l r) a where - runLayout (W.Workspace i (SLeft r l) ms) = fmap (second . fmap $ SLeft r) . runLayout (W.Workspace i l ms) - runLayout (W.Workspace i (SRight l r) ms) = fmap (second . fmap $ SRight l) . runLayout (W.Workspace i r ms) + runLayout (W.Workspace i (SLeft r l) ms) = + fmap (second . fmap $ SLeft r) . runLayout (W.Workspace i l ms) + runLayout (W.Workspace i (SRight l r) ms) = + fmap (second . fmap $ SRight l) . runLayout (W.Workspace i r ms) description (SLeft _ l) = description l description (SRight _ r) = description r |