Do not attach null buffer.
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>
Sat, 28 Jan 2012 18:56:28 +0000 (20:56 +0200)
committerJørgen Lind <jorgen.lind@nokia.com>
Mon, 30 Jan 2012 08:58:46 +0000 (09:58 +0100)
commit42ed12656016a96b966b7b5e52f0b684ad65c227
tree2244958b3b01e631d7abb657f22ef3c3d3126db2
parentb5bb1c45fd2b478f10278c64b6346423c90a0213
Do not attach null buffer.

Apparently Weston does not like this and causes instant crashes when
hiding a top-level widget.  The QtCompositor-side behavior is dubious
too although at least that does not crash. Nevertheless attaching a
null buffer seems unnecessary.

Change-Id: I1d7fe3e0b05e5d77773b661a71bc37311968eded
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
src/plugins/platforms/wayland/qwaylandwindow.cpp