Allow SHM buffers to be displayed in Wayland plugin when using DRM
authorAndy Nichols <andy.nichols@nokia.com>
Wed, 1 Jun 2011 13:34:50 +0000 (15:34 +0200)
committerQt Continuous Integration System <qt-info@nokia.com>
Wed, 1 Jun 2011 15:09:04 +0000 (17:09 +0200)
commit1fb4d6737c09a5d6e1bbcf135029cd0a7f2e72f6
tree164ca215eed70f5726e66a63f5749df6ccb1442a
parent1dd7b8ace010f3950e835fc67681944d481fb21b
Allow SHM buffers to be displayed in Wayland plugin when using DRM

When running an application with the wayland backend, SHM window
surfaces were not being displayed on the wayland-demo compositor as
wl_surface_damage was being called, but not wl_buffer_damage as well.

Change-Id: I2ffea3bbb20cb3729cd029bd21855819cd7fcf55
Reviewed-on: http://codereview.qt.nokia.com/305
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
src/plugins/platforms/wayland/qwaylandwindow.cpp