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 /src/Config.hs | |
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 'src/Config.hs')
0 files changed, 0 insertions, 0 deletions