kms: Restore VT settings when crashed
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>
Tue, 31 Jul 2012 10:43:42 +0000 (13:43 +0300)
committerQt by Nokia <qt-info@nokia.com>
Fri, 10 Aug 2012 06:03:31 +0000 (08:03 +0200)
commit8ec3a419d12294c07ae4ea7970caa21a22f82182
tree21ae47707c4a02a9c07a3388c05645303c6f0743
parentfa08b143f3deb1db11984a88aa34d541c19c9fc5
kms: Restore VT settings when crashed

This does the job of keeping the terminal keyboard working when
the application segfaults but is somewhat unsafe because ioctl()
is not async-signal safe.

Change-Id: Ie6728a4252e18c29bba8f8308e6c00d4a1eb6a8e
Reviewed-by: Elvis Lee <kwangwoong.lee@lge.com>
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
src/plugins/platforms/kms/qkmsvthandler.cpp
src/plugins/platforms/kms/qkmsvthandler.h