More robust implementation of qt_x11_wait_for_window_manager
authorOlivier Goffart <ogoffart@trolltech.com>
Wed, 9 Sep 2009 08:44:06 +0000 (10:44 +0200)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>
Fri, 18 Sep 2009 12:54:51 +0000 (14:54 +0200)
commit22b350f9916947ead9c0db6d942ac5ba03ea4ca8
tree289bdce8e1323bfe939f4a0a1a67603419b224f2
parent2b0f2c1c8452c16723a15f00117c96c57bb017a8
More robust implementation of qt_x11_wait_for_window_manager

Make sure we recieve both ReparentNotify and MapNotify events.
Also change the timeout to 2 seconds to cope with slow machines

Reviewed-by: Denis
src/gui/kernel/qwidget_x11.cpp