ui: correctly remove all displays when video is removed
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 11 Aug 2012 12:58:08 +0000 (14:58 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 11 Aug 2012 12:58:08 +0000 (14:58 +0200)
commit8dae4e744c593748b9da54aaa3a202b00612de0b
tree9711e320a76efe1d14a8366c71cbcca1f926588e
parent42c177e3cd3fcaca6c84f0f10d98b4368066347a
ui: correctly remove all displays when video is removed

When removing a video object we also need to remove all displays from the
terminal object. Otherwise, the terminal will still try to draw on the
displays which obviously fails.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/ui.c