From bfd02987485210646800f4184a21b1143f2e301c Mon Sep 17 00:00:00 2001 From: exorcist365 Date: Sun, 13 Feb 2022 18:53:46 +0200 Subject: Use nh' for displaying the bar on the bottom of the screen. Fixes #555 --- src/Xmobar/X11/Window.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Xmobar/X11/Window.hs b/src/Xmobar/X11/Window.hs index 14a0016..3612a19 100644 --- a/src/Xmobar/X11/Window.hs +++ b/src/Xmobar/X11/Window.hs @@ -84,7 +84,7 @@ setPosition c p rs ht = TopW a i -> Rectangle (ax a i) ry (nw i) h TopSize a i ch -> Rectangle (ax a i) ry (nw i) (mh ch) Bottom -> Rectangle rx ny rw h - BottomH ch -> Rectangle rx ny rw (mh ch) + BottomH ch -> Rectangle rx (ny' ch) rw (mh ch) BottomW a i -> Rectangle (ax a i) ny (nw i) h BottomP l r -> Rectangle (rx + fi l) ny (rw - fi l - fi r) h BottomSize a i ch -> Rectangle (ax a i) (ny' ch) (nw i) (mh ch) -- cgit v1.2.3