mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 03:20:21 -07:00
X.U.Ungrab: Deprecate
This commit is contained in:
parent
ad28ae1daa
commit
22372abaab
@ -93,6 +93,9 @@
|
||||
- The function `readKeySequence` now returns a non-empty list if it
|
||||
succeeded.
|
||||
|
||||
* Deprecate `XMonad.Util.Ungrab`; it was moved to `XMonad.Operations`
|
||||
in core.
|
||||
|
||||
### New Modules
|
||||
|
||||
* `XMonad.Layout.CenterMainFluid`
|
||||
|
@ -1,5 +1,7 @@
|
||||
{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
|
||||
|
||||
-- TODO: Remove when we depend on a version of xmonad that has unGrab.
|
||||
{-# OPTIONS_GHC -Wno-deprecations #-}
|
||||
{-# OPTIONS_GHC -Wno-dodgy-imports #-}
|
||||
-----------------------------------------------------------------------------
|
||||
-- |
|
||||
-- Module : XMonad.Config.Mate
|
||||
@ -28,15 +30,14 @@ module XMonad.Config.Mate (
|
||||
desktopLayoutModifiers
|
||||
) where
|
||||
|
||||
import XMonad
|
||||
import XMonad.Config.Desktop
|
||||
import XMonad.Util.Run (safeSpawn)
|
||||
import XMonad.Util.Ungrab
|
||||
import XMonad.Prelude (toUpper)
|
||||
|
||||
import System.Environment (getEnvironment)
|
||||
import qualified Data.Map as M
|
||||
|
||||
import System.Environment (getEnvironment)
|
||||
import XMonad hiding (unGrab)
|
||||
import XMonad.Config.Desktop
|
||||
import XMonad.Prelude (toUpper)
|
||||
import XMonad.Util.Run (safeSpawn)
|
||||
import XMonad.Util.Ungrab (unGrab)
|
||||
|
||||
-- $usage
|
||||
-- To use this module, start with the following @~\/.xmonad\/xmonad.hs@:
|
||||
|
@ -13,7 +13,7 @@
|
||||
--
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
module XMonad.Util.Ungrab
|
||||
module XMonad.Util.Ungrab {-# DEPRECATED "Use XMonad.Operations.unGrab instead" #-}
|
||||
( -- * Usage:
|
||||
-- $usage
|
||||
unGrab
|
||||
|
Loading…
x
Reference in New Issue
Block a user