From 9ad0dcb6014ef075698a8306d86322732ced476a Mon Sep 17 00:00:00 2001 From: Adam Vogt Date: Fri, 10 Jul 2009 03:14:24 +0200 Subject: Remove tabs from ManageHook.hs Ignore-this: 13903f39b052c025a7bfa50fb701959c darcs-hash:20090710011424-1499c-8199d3837913d876e78b58c539525d578b27206e --- XMonad/ManageHook.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'XMonad') diff --git a/XMonad/ManageHook.hs b/XMonad/ManageHook.hs index fc7017d..be9bc58 100644 --- a/XMonad/ManageHook.hs +++ b/XMonad/ManageHook.hs @@ -74,7 +74,7 @@ title = ask >>= \w -> liftX $ do (internAtom d "_NET_WM_NAME" False >>= getTextProperty d w) `catch` \_ -> getTextProperty d w wM_NAME 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 "" -- | Return the application name. -- cgit v1.2.3