Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Co-authored-by: Tomáš Janoušek <tomi@nomi.cz>
  • Loading branch information
mgkurtz and liskin committed Apr 27, 2024
1 parent 1cc2022 commit 6772943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XMonad/ManageHook.hs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ className = ask >>= (\w -> liftX $ withDisplay $ \d -> fmap resClass $ io $ getC
-- | A query that can return an arbitrary X property of type 'String',
-- identified by name. Works for ASCII strings only. For the properties
-- @_NET_WM_NAME@/@WM_NAME@ and @WM_CLASS@ the specialised variants 'title'
-- and 'appName'/'className' are prefered.
-- and 'appName'/'className' are preferred.
stringProperty :: String -> Query String
stringProperty p = ask >>= (\w -> liftX $ withDisplay $ \d -> fromMaybe "" <$> getStringProperty d w p)

Expand Down

0 comments on commit 6772943

Please sign in to comment.