X.U.Ungrab: Deprecate

This commit is contained in:
iogrt 2023-11-16 20:49:04 +00:00 committed by Tony Zorman
parent ad28ae1daa
commit 22372abaab
3 changed files with 13 additions and 9 deletions

View File

@ -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`

View File

@ -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@:

View File

@ -13,7 +13,7 @@
--
-----------------------------------------------------------------------------
module XMonad.Util.Ungrab
module XMonad.Util.Ungrab {-# DEPRECATED "Use XMonad.Operations.unGrab instead" #-}
( -- * Usage:
-- $usage
unGrab