diff options
author | Martin Perner <martin@perner.cc> | 2011-09-07 13:09:52 +0200 |
---|---|---|
committer | Martin Perner <martin@perner.cc> | 2011-09-09 21:07:46 +0200 |
commit | dbf4ea77dc318f5d3b68651eabc562cd6cefec51 (patch) | |
tree | 75baccb9efee2febac4837c8dfd5aa8df323f68f /xmobar.cabal | |
parent | 4fe99635e87c4f2262a27bf91c1ab6c7e3ee0988 (diff) | |
download | xmobar-dbf4ea77dc318f5d3b68651eabc562cd6cefec51.tar.gz xmobar-dbf4ea77dc318f5d3b68651eabc562cd6cefec51.tar.bz2 |
complete reword of the eventLoop
*) replaced window destroy and create with a reposition
*) replaced the exception for redraw with an MVar
*) put nextEvent into an own thread, communication over the MVar
*) signal handlers for repositioning and screen swap
Notes:
*) getScreenInfo is a parameter of eventLoop because it blocks when there
is an nextEvent waiting for an new event
Diffstat (limited to 'xmobar.cabal')
-rw-r--r-- | xmobar.cabal | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmobar.cabal b/xmobar.cabal index bb46101..e40494f 100644 --- a/xmobar.cabal +++ b/xmobar.cabal @@ -81,7 +81,7 @@ executable xmobar ghc-prof-options: -prof -auto-all if true - ghc-options: -funbox-strict-fields -Wall + ghc-options: -funbox-strict-fields -Wall -threaded extra-libraries: Xrandr if impl (ghc == 6.10.1) && arch (x86_64) |