mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-16 12:33:47 -07:00
Remove tabs from ManageHook.hs
This commit is contained in:
@@ -74,7 +74,7 @@ title = ask >>= \w -> liftX $ do
|
|||||||
(internAtom d "_NET_WM_NAME" False >>= getTextProperty d w)
|
(internAtom d "_NET_WM_NAME" False >>= getTextProperty d w)
|
||||||
`catch` \_ -> getTextProperty d w wM_NAME
|
`catch` \_ -> getTextProperty d w wM_NAME
|
||||||
extract prop = do l <- wcTextPropertyToTextList d prop
|
extract prop = do l <- wcTextPropertyToTextList d prop
|
||||||
return $ if null l then "" else head l
|
return $ if null l then "" else head l
|
||||||
io $ bracket getProp (xFree . tp_value) extract `catch` \_ -> return ""
|
io $ bracket getProp (xFree . tp_value) extract `catch` \_ -> return ""
|
||||||
|
|
||||||
-- | Return the application name.
|
-- | Return the application name.
|
||||||
|
Reference in New Issue
Block a user