diff options
-rw-r--r-- | Warp.hs | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -21,7 +21,6 @@ module XMonadContrib.Warp ( ) where import Data.Ratio -import Data.Maybe import Data.List import Control.Monad.RWS import Graphics.X11.Xlib @@ -55,9 +54,6 @@ Note that warping to a particular screen may change the focus. fraction :: (Integral a, Integral b) => Rational -> a -> b fraction f x = floor (f * fromIntegral x) -ix :: Int -> [a] -> Maybe a -ix n = listToMaybe . take 1 . drop n - warp :: Window -> Position -> Position -> X () warp w x y = withDisplay $ \d -> io $ warpPointer d none w 0 0 0 0 x y |