mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-01 12:41:52 -07:00
Move XMonad.Util.XPaste to XMonad.Util.Paste
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
sendEvent d w True keyReleaseMask ev
|
@@ -197,6 +197,6 @@ library
|
||||
XMonad.Util.Timer
|
||||
XMonad.Util.WindowProperties
|
||||
XMonad.Util.WorkspaceCompare
|
||||
XMonad.Util.XPaste
|
||||
XMonad.Util.Paste
|
||||
XMonad.Util.XSelection
|
||||
XMonad.Util.XUtils
|
||||
|
Reference in New Issue
Block a user