summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-19 19:53:08 +0200
committerwm4 <wm4@nowhere>2016-09-19 19:53:08 +0200
commit75fe626aa60a4175c5b833ab8afe271120d88106 (patch)
tree3bc1bd8b382fb1cca866b1a064d45e92541b58ec /options/options.c
parentfe7db610355b623305d08135869b3f4ff4487b6d (diff)
downloadmpv-75fe626aa60a4175c5b833ab8afe271120d88106.tar.bz2
mpv-75fe626aa60a4175c5b833ab8afe271120d88106.tar.xz
terminal-unix: don't send quit command on terminal_uninit()
Until now, the terminal thread always sent a quit command if the terminal thread was torn down (whether it happened via terminal_uninit() or a quit signal). This is not so good if we want to enable toggling terminal use at runtime, since disabling the terminal would always make the player quit. So we want terminal_uninit() not to send quit. This can be easily fixed by using the "death byte" sent to the pipe used for thread tear-down to indicate whether it was caused by a signal or terminal_uninit().
Diffstat (limited to 'options/options.c')
0 files changed, 0 insertions, 0 deletions