mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 11:30:22 -07:00
Merge pull request #843 from iogrt/ungrab
deprecate `XMonad.Util.Ungrab`
This commit is contained in:
commit
5c30cadaf6
@ -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`
|
||||||
|
@ -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@:
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
--
|
--
|
||||||
-----------------------------------------------------------------------------
|
-----------------------------------------------------------------------------
|
||||||
|
|
||||||
module XMonad.Util.Ungrab
|
module XMonad.Util.Ungrab {-# DEPRECATED "Use XMonad.Operations.unGrab instead" #-}
|
||||||
( -- * Usage:
|
( -- * Usage:
|
||||||
-- $usage
|
-- $usage
|
||||||
unGrab
|
unGrab
|
||||||
|
Loading…
x
Reference in New Issue
Block a user