mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 03:20:21 -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
|
||||
scr = defaultScreenOfDisplay d
|
||||
wh = case position c of
|
||||
CenteredAt _ wd -> floor $ ((1 - wd) / 2) * fi (widthOfScreen scr)
|
||||
CenteredAt _ wd -> floor $ wd * fi (widthOfScreen scr)
|
||||
_ -> widthOfScreen scr
|
||||
ht = height c
|
||||
bw = promptBorderWidth c
|
||||
|
Loading…
x
Reference in New Issue
Block a user