mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 03:20:21 -07:00
export HiddenWindows type constructor
Some users like to include type signatures in their configuration. The HiddenWindows type constructor was not exported, making it impossible to write a type signature when using hiddenWindows. With this change, a user can write an xmonad.hs like: import XMonad import XMonad.Layout.Hidden (HiddenWindows, hiddenWindows) import XMonad.Layout.LayoutModifier myLayout :: ModifiedLayout HiddenWindows (Choose Tall (Choose (Mirror Tall) Full)) Window myLayout = hiddenWindows $ layoutHook def main :: IO () main = xmonad def { layoutHook = myLayout }
This commit is contained in:
parent
252e6e4d00
commit
c201a9e33e
@ -20,7 +20,8 @@
|
||||
module XMonad.Layout.Hidden
|
||||
( -- * Usage
|
||||
-- $usage
|
||||
HiddenMsg (..)
|
||||
HiddenWindows
|
||||
, HiddenMsg (..)
|
||||
, hiddenWindows
|
||||
, hideWindow
|
||||
, popOldestHiddenWindow
|
||||
|
Loading…
x
Reference in New Issue
Block a user