1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
Tue Mar 20 03:53:11 FET 2012 Adam Vogt <vogt.adam@gmail.com>
* Bump version to 0.10.1
Raising the X11 dependency while keeping the xmonad version the same leads to
problems where cabal install uses the dependency versions following hackage,
not what is installed.
diff --git a/xmonad-contrib.cabal b/xmonad-contrib.cabal
index 743bdc8..0fbf4ac 100644
--- a/xmonad-contrib.cabal
+++ b/xmonad-contrib.cabal
@@ -61,7 +61,7 @@ library
extensions: ForeignFunctionInterface
cpp-options: -DXFT
- build-depends: mtl >= 1 && < 3, unix, X11>=1.5.0.0 && < 1.6, xmonad>=0.10, xmonad<0.11, utf8-string
+ build-depends: mtl >= 1 && < 3, unix, X11>=1.5.0.0 && < 1.7, xmonad>=0.10, xmonad<0.11, utf8-string
if true
ghc-options: -fwarn-tabs -Wall
diff --git a/XMonad/Layout/Spiral.hs b/XMonad/Layout/Spiral.hs
index a485d95..5e388e2 100644
--- a/XMonad/Layout/Spiral.hs
+++ b/XMonad/Layout/Spiral.hs
@@ -26,7 +26,7 @@ module XMonad.Layout.Spiral (
) where
import Data.Ratio
-import XMonad
+import XMonad (LayoutClass(..), Rectangle(..), fromMessage, Resize(..))
import XMonad.StackSet ( integrate )
-- $usage
diff --git a/XMonad/Util/Paste.hs b/XMonad/Util/Paste.hs
index 0d78653..4b7fd3b 100644
--- a/XMonad/Util/Paste.hs
+++ b/XMonad/Util/Paste.hs
@@ -23,7 +23,8 @@ module XMonad.Util.Paste ( -- * Usage
where
import XMonad (io, theRoot, withDisplay, X ())
-import Graphics.X11
+import Graphics.X11 (Window, shiftMask, KeyMask, stringToKeysym, KeySym, keysymToKeycode)
+import Graphics.X11 (allocaXEvent, keyPress, sendEvent, keyPressMask, keyRelease, keyReleaseMask)
import Graphics.X11.Xlib.Extras (none, setEventType, setKeyEvent)
import Control.Monad.Reader (asks)
import XMonad.Operations (withFocused)
|