summaryrefslogtreecommitdiff
path: root/src/strings.c
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2016-08-24 21:44:47 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2016-08-24 21:49:53 +0200
commite6f8a2932a9d66e905f0cf2e6d02fc17e1caad06 (patch)
tree67f497dfa3844e23b1ef95af7c814babf85c4ff2 /src/strings.c
parent8fe9dd1c2bb12b4909491dd54cce810e335e5c6f (diff)
downloadcalcurse-e6f8a2932a9d66e905f0cf2e6d02fc17e1caad06.zip
Avoid starting the notification thread twice
Starting the notification thread more than once can result in strange behavior. For example, when launching external commands, only the most recently started thread is stopped which results in the external command's screen output being overwritten by the notification bar. Currently, there are a couple of situations where the thread is started twice. As a first countermeasure, explicitly check whether the thread is already running (and terminate it) before starting a new one. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/strings.c')
0 files changed, 0 insertions, 0 deletions