Properly reset keyboard focus in qwindow-compositor when hiding
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>
Mon, 11 Jun 2012 13:46:03 +0000 (16:46 +0300)
committerLaszlo Agocs <laszlo.p.agocs@nokia.com>
Tue, 19 Jun 2012 06:46:44 +0000 (08:46 +0200)
commit13268e48687eae401720baa8148c9058f2931ab6
tree7971335cd4c58c6aff12b906c3068c879be0a0ec
parent46ff754410d4747c1a1b72f9e9d519645aebbe6a
Properly reset keyboard focus in qwindow-compositor when hiding

Surfaces with null buffer attached should be handled similarly to
destroyed surfaces. qtwayland makes sure the focus surface is reset,
if needed, but it's up to qwindow-compositor to pick a new one.

Change-Id: I68ec7fe3fe3e2795ae52ef60d9343cb527205c68
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
examples/qwindow-compositor/qwindowcompositor.cpp
examples/qwindow-compositor/qwindowcompositor.h