uterm: vt: make real_activate() behave like real_deactivate()
authorDavid Herrmann <dh.herrmann@googlemail.com>
Mon, 1 Oct 2012 11:23:38 +0000 (13:23 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Mon, 1 Oct 2012 11:23:38 +0000 (13:23 +0200)
commit2c6a34deb94268c4fdc494b47242f95a1f40b424
tree13974a7f76df8d3879f2b1c251007b8a7b2a9966
parent79692f655a507a7bc473dd3846d175ddcb48d85d
uterm: vt: make real_activate() behave like real_deactivate()

real_activate() has alsmost the same semantics as real_deactivate() so we
should also return -EINPROGRESS when we scheduled the VT switch. This
isn't used by kmscon currently, but may be used by other uterm users.

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