    -----------------------------------------------------------------------------
    -- |
    -- Module      :  XMonad.Hooks.RestoreMinimized
    -- Copyright   :  (c) Jan Vornberger 2009
    -- License     :  BSD3-style (see LICENSE)
    --
    -- Maintainer  :  jan.vornberger@informatik.uni-oldenburg.de
    -- Stability   :  unstable
    -- Portability :  not portable
    --
    -- (Deprecated: Use XMonad.Hooks.Minimize) Lets you restore minimized
    -- windows (see "XMonad.Layout.Minimize") by selecting them on a
    -- taskbar (listens for _NET_ACTIVE_WINDOW and WM_CHANGE_STATE).
    --
    -----------------------------------------------------------------------------

    module XMonad.Hooks.RestoreMinimized
        {-# DEPRECATED "Use XMonad.Hooks.Minimize instead, this module has no effect" #-}
        ( -- * Usage
          -- $usage
          RestoreMinimized (..)
        , restoreMinimizedEventHook
        ) where

    import Data.Monoid

    import XMonad

    -- $usage
    -- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@:
    --
    -- > import XMonad.Hooks.RestoreMinimized
    -- >
    -- > myHandleEventHook = restoreMinimizedEventHook
    -- >
    -- > main = xmonad def { handleEventHook = myHandleEventHook }

    data RestoreMinimized = RestoreMinimized deriving ( Int -> RestoreMinimized -> ShowS
    [RestoreMinimized] -> ShowS
    RestoreMinimized -> String
    (Int -> RestoreMinimized -> ShowS)
    -> (RestoreMinimized -> String)
    -> ([RestoreMinimized] -> ShowS)
    -> Show RestoreMinimized
    forall a.
    (Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
    showList :: [RestoreMinimized] -> ShowS
    $cshowList :: [RestoreMinimized] -> ShowS
    show :: RestoreMinimized -> String
    $cshow :: RestoreMinimized -> String
    showsPrec :: Int -> RestoreMinimized -> ShowS
    $cshowsPrec :: Int -> RestoreMinimized -> ShowS
    Show, ReadPrec [RestoreMinimized]
    ReadPrec RestoreMinimized
    Int -> ReadS RestoreMinimized
    ReadS [RestoreMinimized]
    (Int -> ReadS RestoreMinimized)
    -> ReadS [RestoreMinimized]
    -> ReadPrec RestoreMinimized
    -> ReadPrec [RestoreMinimized]
    -> Read RestoreMinimized
    forall a.
    (Int -> ReadS a)
    -> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
    readListPrec :: ReadPrec [RestoreMinimized]
    $creadListPrec :: ReadPrec [RestoreMinimized]
    readPrec :: ReadPrec RestoreMinimized
    $creadPrec :: ReadPrec RestoreMinimized
    readList :: ReadS [RestoreMinimized]
    $creadList :: ReadS [RestoreMinimized]
    readsPrec :: Int -> ReadS RestoreMinimized
    $creadsPrec :: Int -> ReadS RestoreMinimized
    Read )

    restoreMinimizedEventHook :: Event -> X All
    restoreMinimizedEventHook :: Event -> X All
    restoreMinimizedEventHook _ = All -> X All
    forall (m :: * -> *) a. Monad m => a -> m a
    return (Bool -> All
    All Bool
    True)