mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 11:30:22 -07:00
fix prompt width
This commit is contained in:
parent
0447c76d48
commit
becb724f95
@ -859,7 +859,7 @@ drawWin = do
|
|||||||
let (c,(d,(w,gc))) = (config &&& dpy &&& win &&& gcon) st
|
let (c,(d,(w,gc))) = (config &&& dpy &&& win &&& gcon) st
|
||||||
scr = defaultScreenOfDisplay d
|
scr = defaultScreenOfDisplay d
|
||||||
wh = case position c of
|
wh = case position c of
|
||||||
CenteredAt _ wd -> floor $ ((1 - wd) / 2) * fi (widthOfScreen scr)
|
CenteredAt _ wd -> floor $ wd * fi (widthOfScreen scr)
|
||||||
_ -> widthOfScreen scr
|
_ -> widthOfScreen scr
|
||||||
ht = height c
|
ht = height c
|
||||||
bw = promptBorderWidth c
|
bw = promptBorderWidth c
|
||||||
|
Loading…
x
Reference in New Issue
Block a user