uterm: add WAKEUP and SLEEP signals
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 23 Jun 2012 23:01:47 +0000 (01:01 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 23 Jun 2012 23:01:47 +0000 (01:01 +0200)
commiteec3f2ad858bb1788d621720d5d7534fa76a05ee
treecd61fe5937064da41a36261257a649328f2662da
parentc8fbc14425c59f8cb4e658c00d610e93ab4e8dd4
uterm: add WAKEUP and SLEEP signals

Notify all listeners when going to sleep or waking up. This allows saving
energy in the listeners by not redrawing the screen while being asleep.

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