mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-13 03:05:57 -07:00
ShowWName.hs: switch color/bgcolor in call to paintAndWrite
This commit is contained in:
@@ -93,7 +93,7 @@ flashName c (Rectangle _ _ wh ht) wrs = do
|
|||||||
x = (fi wh - width + 2) `div` 2
|
x = (fi wh - width + 2) `div` 2
|
||||||
w <- createNewWindow (Rectangle (fi x) (fi y) (fi width) (fi hight)) Nothing "" True
|
w <- createNewWindow (Rectangle (fi x) (fi y) (fi width) (fi hight)) Nothing "" True
|
||||||
showWindow w
|
showWindow w
|
||||||
paintAndWrite w f (fi width) (fi hight) 0 "" "" (swn_bgcolor c) (swn_color c) AlignCenter n
|
paintAndWrite w f (fi width) (fi hight) 0 "" "" (swn_color c) (swn_bgcolor c) AlignCenter n
|
||||||
releaseXMF f
|
releaseXMF f
|
||||||
io $ sync d False
|
io $ sync d False
|
||||||
i <- startTimer (swn_fade c)
|
i <- startTimer (swn_fade c)
|
||||||
|
Reference in New Issue
Block a user