Merge pull request #4 from mikkoharju/exit

Handle connection error by exiting the application
Implement mask delay style hint for password text fields

Previous generic unix themes implemented a "generic" theme.
Overrode that with a new theme, which only adds the delay hint.
Resolve flickering issue when texture is disowned before scenegraph has a chance to update

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>
Merge pull request #5 from pvuorela/master

Implemented style hint for password text field mask delay
Merge branch 'master' of github.com:mer-packages/qtwayland
Hopefully fix crash when using SHM buffers - we should release them too. WIP

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>
Do not clear focus on attach

Wait until commit, as the buffer is part of the pending state.
Make frame callbacks unconditional

From wayland protocol:
"A client can request a frame callback even without an attach, damage,
or any other state changes. wl_surface.commit triggers a display
update, so the callback event will arrive after the next output
refresh where the surface is visible."

We therefore should not condition the frame callback on client
having a valid damage rect. Instead, it should be conditional
to surface visibility, known by compositor.

Also make frame callbacks part of the pending state, to be applied
on commit.
Move commit out of damage
Despite warning, flush window system events on setVisible