Fix keyboard input in kms

The window was not made active.

Change-Id: I20c323201be71fa4deb758e4a8fc32297d6faf0c
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
This commit is contained in:
Laszlo Agocs 2012-07-25 12:14:44 +03:00 committed by Qt by Nokia
parent 770175045a
commit 8cbd591c2b

View File

@ -107,7 +107,9 @@ QPlatformOpenGLContext *QKmsIntegration::createPlatformOpenGLContext(QOpenGLCont
QPlatformWindow *QKmsIntegration::createPlatformWindow(QWindow *window) const
{
return new QKmsWindow(window);
QKmsWindow *w = new QKmsWindow(window);
w->requestActivateWindow();
return w;
}
QPlatformBackingStore *QKmsIntegration::createPlatformBackingStore(QWindow *window) const