Fix Focus problem with QX11EmbedWidget
authorYikei Lu <luyikei.qmltu@gmail.com>
Thu, 12 Feb 2015 12:21:50 +0000 (21:21 +0900)
committerShawn Rutledge <shawn.rutledge@digia.com>
Mon, 16 Feb 2015 11:33:02 +0000 (11:33 +0000)
commit4c7565056f94814d857f210cbda04919a88adc62
treef069d86b75506484cef24c6ddf7effc7f579cb01
parent2b7758a8763a8fe6ca13a2f04e0137df79c849d2
Fix Focus problem with QX11EmbedWidget

Since QX11EmbedWidget can be included in another Qt application which
has QX11EmbedContainer, QX11EmbedWidget should be activated at first.

Task-number: QTBUG-3617
Change-Id: I23e12f6c3ed9f7bd4a3ac0d0237bf7382db14ee2
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
src/gui/kernel/qx11embed_x11.cpp