aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout/ShowWName.hs
diff options
context:
space:
mode:
Diffstat (limited to 'XMonad/Layout/ShowWName.hs')
-rw-r--r--XMonad/Layout/ShowWName.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/XMonad/Layout/ShowWName.hs b/XMonad/Layout/ShowWName.hs
index 20d39d6..7169081 100644
--- a/XMonad/Layout/ShowWName.hs
+++ b/XMonad/Layout/ShowWName.hs
@@ -91,8 +91,8 @@ flashName c (Rectangle _ _ wh ht) wrs = do
d <- asks display
n <- withWindowSet (return . S.tag . S.workspace . S.current)
f <- initXMF (swn_font c)
- width <- textWidthXMF d f n
- (_,as,ds,_) <- textExtentsXMF f n
+ width <- textWidthXMF d f n
+ (as,ds) <- textExtentsXMF f n
let hight = as + ds
y = (fi ht - hight + 2) `div` 2
x = (fi wh - width + 2) `div` 2