diff options
author | Jochen Keil <jochen.keil@gmail.com> | 2012-08-09 11:44:39 +0200 |
---|---|---|
committer | Jochen Keil <jochen.keil@gmail.com> | 2012-08-09 12:07:17 +0200 |
commit | fc474471e12afd5ec958082a7246f2ee22fcc2cf (patch) | |
tree | 4d18fc0f2fd48c804a7d59af7d780d113ce41b1e /src/Plugins/Monitors/Mpris.hs | |
parent | dd78c8bfa52ba0b10e6acf8bde8d467fb02a8d4e (diff) | |
download | xmobar-fc474471e12afd5ec958082a7246f2ee22fcc2cf.tar.gz xmobar-fc474471e12afd5ec958082a7246f2ee22fcc2cf.tar.bz2 |
Bugfix: Replace TVar with TMVar for the old value
This solves a problem when there is only one pipe in place. With a
default value of "" and only one pipe with a timeout the value is
overwritten with "" after the timeout. To prevent this from happening a
TMVar is used which will never be filled if there is only one pipe.
Diffstat (limited to 'src/Plugins/Monitors/Mpris.hs')
0 files changed, 0 insertions, 0 deletions