mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-01 12:41:52 -07:00
X.H.RefocusLast: Export withRecentsIn
This exports the `withRecentsIn` function, as it's quite useful when using X.H.RefocusLast in other modules as a library. It is already possible (RecentsMap is fully exported) to completely define this function outside of the module, so we are not exposing any more internals than we were before.
This commit is contained in:
@@ -41,7 +41,9 @@ module XMonad.Hooks.RefocusLast (
|
||||
RecentWins(..),
|
||||
RecentsMap(..),
|
||||
RefocusLastLayoutHook(..),
|
||||
RefocusLastToggle(..)
|
||||
RefocusLastToggle(..),
|
||||
-- * Library functions
|
||||
withRecentsIn,
|
||||
) where
|
||||
|
||||
import XMonad
|
||||
@@ -262,7 +264,7 @@ updateRecentsOn tag = withWindowSet $ \ws ->
|
||||
|
||||
-- }}}
|
||||
|
||||
-- --< Private Utilities >-- {{{
|
||||
-- --< Utilities >-- {{{
|
||||
|
||||
-- | Focuses the first window in the list it can find on the current workspace.
|
||||
tryFocus :: [Window] -> WindowSet -> WindowSet
|
||||
|
Reference in New Issue
Block a user