diff options
author | gopsychonauts <gopsychonauts@gmail.com> | 2013-05-01 17:14:25 +0200 |
---|---|---|
committer | gopsychonauts <gopsychonauts@gmail.com> | 2013-05-01 17:14:25 +0200 |
commit | 6e183515ab56b0a767c50dfd94840453187d69ca (patch) | |
tree | 460b059310b55e452c7b67c712d3c190ff5348b5 /XMonad/Util/NamedScratchpad.hs | |
parent | efecf917cb429577e566fdebff9431e8b4a52e4d (diff) | |
download | XMonadContrib-6e183515ab56b0a767c50dfd94840453187d69ca.tar.gz XMonadContrib-6e183515ab56b0a767c50dfd94840453187d69ca.tar.xz XMonadContrib-6e183515ab56b0a767c50dfd94840453187d69ca.zip |
Generalises modWorkspace to take any layout-transforming function
Ignore-this: 28c7dc1f6216bb1ebdffef5434ccbcbd
modWorkspace already was capable of modifying the layout with an arbitrary
layout -> layout function, but its original type restricted it such that it
could only apply a single LayoutModifier; this was often inconvenient, as for
example it was not possible simply to compose LayoutModifiers for use with
modWorkspace.
This patch also reimplements onWorkspaces in terms of modWorkspaces, since with
the latter's less restrictive type this is now possible.
darcs-hash:20130501151425-1e6bb-1fc7e26a39fab65bb2bf387db0052f19e7c619fc.gz
Diffstat (limited to 'XMonad/Util/NamedScratchpad.hs')
0 files changed, 0 insertions, 0 deletions