Use screenWorkspaceStorage
This commit is contained in:
parent
daadcaa31b
commit
6ce8a6515e
2 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
{-# LANGUAGE DeriveDataTypeable #-}
|
||||
|
||||
module DynamicPerScreenWorkspaces ( WorkspaceScreens
|
||||
module DynamicPerScreenWorkspaces ( screenWorkspaceStorage
|
||||
, WorkspaceScreens
|
||||
, DynamicWorkspaceConfig(..)
|
||||
, dynamicRescreenHook
|
||||
, create
|
||||
|
@ -59,6 +60,7 @@ workspaceScreen :: DynamicWorkspaceConfig -> Int -> X ScreenId
|
|||
workspaceScreen conf i = do
|
||||
wset <- gets windowset
|
||||
d <- getStoreData
|
||||
|
||||
let defaultScreen = defaultWorkspaceScreen conf (length $ W.screens wset) i
|
||||
return $ case d of
|
||||
Just (DWSD wsscreens) -> do
|
||||
|
|
Reference in a new issue