openbsd-ports/x11/hs-xmonad-contrib/patches/patch-XMonad_Util_Paste_hs
2012-06-19 17:46:25 +00:00

17 lines
725 B
Plaintext

$OpenBSD: patch-XMonad_Util_Paste_hs,v 1.1 2012/06/19 17:46:25 kili Exp $
Avoid name clashes with X11-1.6. From Arch Linux.
--- XMonad/Util/Paste.hs.orig Sat Nov 19 00:26:06 2011
+++ XMonad/Util/Paste.hs Tue Jun 19 18:51:36 2012
@@ -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)