Don't hide unselected topic
This commit is contained in:
parent
3789e23cb9
commit
1639feed4c
@ -4,7 +4,6 @@ module XMonad.TopicSpace (topicKeys', addTopic, TopicAction(..)) where
|
|||||||
import XMonad.Actions.TopicSpace
|
import XMonad.Actions.TopicSpace
|
||||||
import XMonad
|
import XMonad
|
||||||
import qualified Data.Map as M
|
import qualified Data.Map as M
|
||||||
import XMonad.Actions.GridSelect
|
|
||||||
import XMonad.Actions.DynamicWorkspaces
|
import XMonad.Actions.DynamicWorkspaces
|
||||||
import XMonad.TopicUtils
|
import XMonad.TopicUtils
|
||||||
import XMonad.Util.EZConfig (mkNamedKeymap)
|
import XMonad.Util.EZConfig (mkNamedKeymap)
|
||||||
|
@ -28,7 +28,9 @@ safeRunInTerm dir (Just command) = safeSpawn "urxvt" ["-cd", dir, "-e", command]
|
|||||||
inactiveTags :: X [WorkspaceId]
|
inactiveTags :: X [WorkspaceId]
|
||||||
inactiveTags = map W.tag . inactive' <$> gets windowset
|
inactiveTags = map W.tag . inactive' <$> gets windowset
|
||||||
where
|
where
|
||||||
inactive' s = W.hidden s ++ map W.workspace (filter (\w -> (W.tag . W.workspace . W.current) s /= (W.tag . W.workspace) w) (W.visible s))
|
inactive' s =
|
||||||
|
let current = W.currentTag s
|
||||||
|
in W.hidden s ++ map W.workspace (filter (\w -> current /= (W.tag . W.workspace) w) (W.visible s))
|
||||||
|
|
||||||
gridselectMove :: GSConfig WorkspaceId -> X ()
|
gridselectMove :: GSConfig WorkspaceId -> X ()
|
||||||
gridselectMove conf = do
|
gridselectMove conf = do
|
||||||
|
Loading…
Reference in New Issue
Block a user