diff options
Diffstat (limited to 'XMonad/Layout/Magnifier.hs')
-rw-r--r-- | XMonad/Layout/Magnifier.hs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/XMonad/Layout/Magnifier.hs b/XMonad/Layout/Magnifier.hs index 7f812ce..6113412 100644 --- a/XMonad/Layout/Magnifier.hs +++ b/XMonad/Layout/Magnifier.hs @@ -32,6 +32,7 @@ module XMonad.Layout.Magnifier import XMonad import XMonad.StackSet import XMonad.Layout.LayoutModifier +import XMonad.Util.XUtils -- $usage -- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: @@ -159,6 +160,3 @@ fit (Rectangle sx sy sw sh) (Rectangle x y w h) = Rectangle x' y' w' h' y' = max sy (y - (max 0 (y + fi h - sy - fi sh))) w' = min sw w h' = min sh h - -fi :: (Num b, Integral a) => a -> b -fi = fromIntegral |