mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-06 06:51:55 -07:00
Fix -Woperator-whitespace-ext-conflict warnings
This commit is contained in:
@@ -285,7 +285,7 @@ getSnap horiz collidedist d w = do
|
||||
screen <- W.current <$> gets windowset
|
||||
let sr = screenRect $ W.screenDetail screen
|
||||
wl = W.integrate' . W.stack $ W.workspace screen
|
||||
gr <- ($sr) <$> calcGap (S.fromList [minBound .. maxBound])
|
||||
gr <- ($ sr) <$> calcGap (S.fromList [minBound .. maxBound])
|
||||
wla <- filter (collides wa) <$> io (mapM (getWindowAttributes d) $ filter (/=w) wl)
|
||||
|
||||
return ( neighbours (back wa sr gr wla) (wpos wa)
|
||||
|
@@ -71,7 +71,7 @@ apply (Append s') s = s ++ s'
|
||||
apply (Prepend s') s = s' ++ s
|
||||
apply (AppendWords s') s = unwords $ words s ++ [s']
|
||||
apply (PrependWords s') s = unwords $ s' : words s
|
||||
apply (Chain rs) s = ($s) $ foldr (flip (.) . apply) id rs
|
||||
apply (Chain rs) s = ($ s) $ foldr (flip (.) . apply) id rs
|
||||
|
||||
instance LayoutModifier Rename a where
|
||||
modifyDescription r l = apply r (description l)
|
||||
|
Reference in New Issue
Block a user