summaryrefslogtreecommitdiffhomepage
path: root/Xmobar.hs
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2008-10-08 07:00:09 +0200
committerSpencer Janssen <sjanssen@cse.unl.edu>2008-10-08 07:00:09 +0200
commitde2d739902f4539ac4de10d3a9799124c6831559 (patch)
treeea5dc0b59d2275c856edd581b500953a1976851a /Xmobar.hs
parent69cb7f23b65f42410b5463ac6b4d87985237b4eb (diff)
downloadxmobar-de2d739902f4539ac4de10d3a9799124c6831559.tar.gz
xmobar-de2d739902f4539ac4de10d3a9799124c6831559.tar.bz2
Make lowerOnStart configurable. Note this breaks config backwards compatibility
darcs-hash:20081008050009-a5988-acb5cda2e3692295abf0bc967acc23e54b55068c.gz
Diffstat (limited to 'Xmobar.hs')
-rw-r--r--Xmobar.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xmobar.hs b/Xmobar.hs
index 48d3fae..8246efd 100644
--- a/Xmobar.hs
+++ b/Xmobar.hs
@@ -135,7 +135,7 @@ createWin d fs c = do
win <- newWindow d (defaultScreenOfDisplay d) rootw r o
selectInput d win (exposureMask .|. structureNotifyMask)
setProperties r c d win srs
- lowerWindow d win
+ when (lowerOnStart c) (lowerWindow d win)
mapWindow d win
return (r,win)