From b96899afb6afc72ef44db4d1819666070f37eec1 Mon Sep 17 00:00:00 2001 From: Tomas Janousek Date: Sun, 6 Jun 2021 13:55:54 +0100 Subject: [PATCH] X.H.StatusBar: Fix misleading doc comment about encodeString This isn't true since 63e31ccd8d28, `xmonadPropLog'` does the encoding now and accepts a normal Haskell String now. Fixes: 63e31ccd8d28 ("X.H.DynamicLog: Move UTF8 encoding from dynamicLogString to xmonadPropLog'") --- XMonad/Hooks/StatusBar.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/XMonad/Hooks/StatusBar.hs b/XMonad/Hooks/StatusBar.hs index 1332cf15..ec261812 100644 --- a/XMonad/Hooks/StatusBar.hs +++ b/XMonad/Hooks/StatusBar.hs @@ -488,8 +488,7 @@ xmonadPropLog :: String -> X () xmonadPropLog = xmonadPropLog' xmonadDefProp -- | Write a string to a property on the root window. This property is of type --- @UTF8_STRING@. The string must have been processed by 'encodeString' --- ('dynamicLogString' does this). +-- @UTF8_STRING@. xmonadPropLog' :: String -- ^ Property name -> String -- ^ Message to be written to the property -> X ()