Merge pull request #843 from iogrt/ungrab

deprecate `XMonad.Util.Ungrab`
This commit is contained in:
Tony Zorman 2023-12-09 08:18:51 +01:00 committed by GitHub
commit 5c30cadaf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 - The function `readKeySequence` now returns a non-empty list if it
succeeded. succeeded.
* Deprecate `XMonad.Util.Ungrab`; it was moved to `XMonad.Operations`
in core.
### New Modules ### New Modules
* `XMonad.Layout.CenterMainFluid` * `XMonad.Layout.CenterMainFluid`

View File

@ -1,5 +1,7 @@
{-# OPTIONS_GHC -fno-warn-missing-signatures #-} {-# 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 -- Module : XMonad.Config.Mate
@ -28,15 +30,14 @@ module XMonad.Config.Mate (
desktopLayoutModifiers desktopLayoutModifiers
) where ) where
import XMonad import System.Environment (getEnvironment)
import XMonad.Config.Desktop
import XMonad.Util.Run (safeSpawn)
import XMonad.Util.Ungrab
import XMonad.Prelude (toUpper)
import qualified Data.Map as M 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 -- $usage
-- To use this module, start with the following @~\/.xmonad\/xmonad.hs@: -- 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:
-- $usage -- $usage
unGrab unGrab