aboutsummaryrefslogtreecommitdiffstats
path: root/Warp.hs
diff options
context:
space:
mode:
authorJoachim Fasting <joachim.fasting@gmail.com>2007-09-19 23:46:34 +0200
committerJoachim Fasting <joachim.fasting@gmail.com>2007-09-19 23:46:34 +0200
commitff06e096480818b71da1f9330cb24c672c791c07 (patch)
tree2b7ccdda9f69eaa727a125efd35d5827b8a0a522 /Warp.hs
parentd730d8f8f5122feb3bdde12cff090f4608620d10 (diff)
downloadXMonadContrib-ff06e096480818b71da1f9330cb24c672c791c07.tar.gz
XMonadContrib-ff06e096480818b71da1f9330cb24c672c791c07.tar.xz
XMonadContrib-ff06e096480818b71da1f9330cb24c672c791c07.zip
Warp.hs: remove seemingly unused code.
darcs-hash:20070919214634-928c4-50669b8c481feafd913609d69d579be12f168ce6.gz
Diffstat (limited to 'Warp.hs')
-rw-r--r--Warp.hs4
1 files changed, 0 insertions, 4 deletions
diff --git a/Warp.hs b/Warp.hs
index f18b96b..adf679e 100644
--- a/Warp.hs
+++ b/Warp.hs
@@ -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