Merge pull request #14 from xknight/master

[update] Merge from upstream qtwayland e48ea148
Destroy extended surface object

QWaylandExtendedSurface did not destroy for the corresponding wayland
object when deleted.
Correct placement of window event flush for window state

A bad cherry-pick meant that 155363 put some code window flushing code
inside the wrong function. This fixes where the flush should occur.

Change-Id: I468d9881d08c358cf559a12d52b18702db3cb1e0
Merge pull request #15 from mikkoharju/master

Destroy extended surface object
Make frame callbacks part of the pending commit state

Commit to frame callbacks only on commit.
Check for null surfaceBuffer

If client detaches the buffer and commits, check for
null surfaceBuffers.
Fix qt key extension interface name
Do not mess with paint enabled on surface mapped/unmapped

If QWaylandSurfaceItem is used as a texture provider only,
setting paint enabled can cause item itself become visible.
Immediately send frame callback on detach

Might not be according to wayland protocol but
better to send the callback than not.
Commit on detach

On some platforms mBuffer is always zero. Expect setVisible(true) to
result in paint, and explicitly detach and commit on setVisible(false)
Don't crash on getting an output for a client when there is no resource for the client
Merge pull request #16 from mikkoharju/master

Surface visibility changes
Merge pull request #17 from Vesuri/master

Don't crash on getting an output for a client when there is no resource for the client
Revert "Don't crash on getting an output for a client when there is no resource for the client"

This reverts commit 1e5541ab2fccfb3c962b4f3cb38f195cea2c37d2.

This was fixed upstream "properly" by https://codereview.qt-project.org/#patch,all,63559,1
[qtwayland] update to upstream stable/e8e5457165d6797b2a2d33a73c9b362e82688459
Squashed 'qtwayland/' changes from e48ea14..e8e5457

e8e5457 qtwaylandscanner: fix binding delegate to track resources
abe1be6 Quit when the wayland socket is closed.
c088945 Do not create unused code with qtwaylandscanner
c2ac72a Fix transient and popup windows with the parent without a shell surface
7d87285 Remove unused QtWayland::Object
6129b75 Make test compile with Wayland 1.2
4d4fe57 Add support for non default Wayland EGL implementations
536420a Fix key handling.
7ff722f Generic Wayland platform theme
888fa94 Fix the popups handling.
9f6c2d9 Send expose event when application changes size
dc703b7 Make qtwaylandscanner generate correct interface versions.
1066eee Compile fix for non-XKB builds
73ad5d0 Make QWaylandWindow::setVisible(false) work
11b0a7d Change setDirectRenderSurface to return the result
efd4c02 Destroy extended surface object
a6d4d95 Fix Qt key extension loading
575b3f1 Correct placement of window event flush for window state

git-subtree-dir: qtwayland
git-subtree-split: e8e5457165d6797b2a2d33a73c9b362e82688459
Merge commit 'fd40bff651080fd9926924dc8adf332262621ef1'

Conflicts:
	qtwayland/src/plugins/platforms/wayland_common/qwaylanddisplay.cpp
	qtwayland/src/plugins/platforms/wayland_common/qwaylandeventthread.cpp
	qtwayland/src/plugins/platforms/wayland_common/qwaylandintegration.cpp
	qtwayland/src/plugins/platforms/wayland_common/qwaylandwindow.cpp
	qtwayland/src/plugins/waylandcompositors/wayland-egl/waylandeglintegration.cpp
[qtwayland] update to upstream stable/3b0b90b3dbadc5119931378089ac9207eb2c4673
Squashed 'qtwayland/' changes from e8e5457..3b0b90b

3b0b90b Fix scanner to support also hex values in enums
12955f5 Use QMultiMap instead of wl_list for resources
c4e89d9 Remove QWaylandSurface::setSize because it is not meaningful
46506fa Delete the frame callback when destroying a window

git-subtree-dir: qtwayland
git-subtree-split: 3b0b90b3dbadc5119931378089ac9207eb2c4673
Merge commit '11bddc90eeb163b971dc73583df6402b272387bd'