Added a QTest::qWaitForWindowShown function that waits for window manager on X11.
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>
Thu, 17 Sep 2009 08:49:33 +0000 (10:49 +0200)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>
Fri, 18 Sep 2009 12:54:51 +0000 (14:54 +0200)
commit2b0f2c1c8452c16723a15f00117c96c57bb017a8
tree28a3c95d3191c5f404cb89693307d007cd2eb20b
parentbb3a4e11584aa089e3d0c565522eda28b009a7c5
Added a QTest::qWaitForWindowShown function that waits for window manager on X11.

On X11 it calls the qt_x11_wait_for_window_manager from QtGui,
allowing to wait until the window has been mapped and reparented into
a frame decoration parent.

Reviewed-by: Olivier Goffart
doc/src/snippets/code/src_qtestlib_qtestcase.cpp
src/testlib/qtestcase.cpp
src/testlib/qtestsystem.h