terminal: avoid adding displays multiple times
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 24 Jun 2012 08:52:05 +0000 (10:52 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 24 Jun 2012 08:52:05 +0000 (10:52 +0200)
commit325412bc1594e35c659f5252e587c0668bff97d6
tree2b696c53fd0be442f423732230138cf4e31df8f9
parent2757f1c6914e794a09f47c486daf2114d091f181
terminal: avoid adding displays multiple times

We now enumerate displays on wake-up so we might end up adding a display
twice. This causes the display to be redrawn twice which is nasty so we
avoid it.

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