Worked around Metacity crashes in xcb plugin.
authorSamuel Rødal <samuel.rodal@nokia.com>
Mon, 5 Mar 2012 10:04:48 +0000 (11:04 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 6 Mar 2012 00:34:57 +0000 (01:34 +0100)
commit50ca45f0595242937908854cd37428c397b9cf60
tree518f78572dd06fff024d9f846b8c4c9768e2d72d
parent7206f9c539f7302b7349be111e9400c3abb7b048
Worked around Metacity crashes in xcb plugin.

Setting the user time before mapping the window seems to prevent the
crasher from happening. We used to set the user time before mapping in
Qt 4.8 too, so it's probably the right thing to do.

Task-number: QTBUG-24462
Change-Id: Ia670b799bd1ed7a7e6399631d5242e57324918b3
Reviewed-by: Jan Arne Petersen <jpetersen@openismus.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/plugins/platforms/xcb/qxcbwindow.cpp