mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-01 12:41:53 -07:00
hide existential Layout (mostly) from user API.
This commit is contained in:
@@ -38,8 +38,10 @@ import System.IO
|
||||
-- |
|
||||
-- The main entry point
|
||||
--
|
||||
xmonad :: XConfig -> IO ()
|
||||
xmonad xmc = do
|
||||
xmonad :: (LayoutClass l Window, Read (l Window)) => XConfig l -> IO ()
|
||||
xmonad initxmc = do
|
||||
-- First, wrap the layout in an existential, to keep things pretty:
|
||||
let xmc = initxmc { layoutHook = Layout $ layoutHook initxmc }
|
||||
dpy <- openDisplay ""
|
||||
let dflt = defaultScreen dpy
|
||||
|
||||
|
Reference in New Issue
Block a user