diff options
author | Spencer Janssen <spencerjanssen@gmail.com> | 2008-09-21 08:09:47 +0200 |
---|---|---|
committer | Spencer Janssen <spencerjanssen@gmail.com> | 2008-09-21 08:09:47 +0200 |
commit | 210c40758ec1c209bcc13fbe63ab81214e026da4 (patch) | |
tree | ff228c3b56521ed08c864d531ea969379080963a /XMonad | |
parent | 1e891284095c7318d7fc77e0ec8cb68b57dae136 (diff) | |
download | XMonadContrib-210c40758ec1c209bcc13fbe63ab81214e026da4.tar.gz XMonadContrib-210c40758ec1c209bcc13fbe63ab81214e026da4.tar.xz XMonadContrib-210c40758ec1c209bcc13fbe63ab81214e026da4.zip |
Move XMonad.Util.XPaste to XMonad.Util.Paste
darcs-hash:20080921060947-25a6b-6feda2edc133f5968df19892c2490a3a2df785c8.gz
Diffstat (limited to '')
-rw-r--r-- | XMonad/Doc/Extending.hs | 2 | ||||
-rw-r--r-- | XMonad/Util/Paste.hs (renamed from XMonad/Util/XPaste.hs) | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/XMonad/Doc/Extending.hs b/XMonad/Doc/Extending.hs index 9bcad51..67dd8c6 100644 --- a/XMonad/Doc/Extending.hs +++ b/XMonad/Doc/Extending.hs @@ -490,7 +490,7 @@ A non complete list with a brief description: workspaces in various ways, used by several other modules which need to sort workspaces (e.g. "XMonad.Hooks.DynamicLog"). -* "XMonad.Util.XPaste" provides utilities for pasting or sending keys and +* "XMonad.Util.Paste" provides utilities for pasting or sending keys and strings to windows; * "XMonad.Util.XSelection" provide utilities for using the mouse diff --git a/XMonad/Util/XPaste.hs b/XMonad/Util/Paste.hs index a51a1e2..98ccd98 100644 --- a/XMonad/Util/XPaste.hs +++ b/XMonad/Util/Paste.hs @@ -1,5 +1,5 @@ {- | -Module : XMonad.Util.XPaste +Module : XMonad.Util.Paste Author : Jérémy Bobbio Copyright : (C) 2008 License : BSD3 @@ -12,7 +12,7 @@ A module for sending key presses to windows. This modules provides generalized and specialized functions for this task. -} -module XMonad.Util.XPaste where +module XMonad.Util.Paste where import XMonad (io, theRoot, withDisplay, X ()) import Graphics.X11 @@ -71,4 +71,4 @@ pasteKeyWindow mods key w = withDisplay $ \d -> do setKeyEvent ev w rootw none mods keycode True sendEvent d w True keyPressMask ev setEventType ev keyRelease - sendEvent d w True keyReleaseMask ev
\ No newline at end of file + sendEvent d w True keyReleaseMask ev |