diff options
author | Richard Moe Gustavsen <richard.gustavsen@digia.com> | 2013-06-18 11:03:16 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-06-25 15:10:50 +0200 |
commit | a3b5947d3623ac3da4ee21056214835f1e5c06da (patch) | |
tree | a69d8073c19a3e4bec2564926e978c76bd212db5 /src/gui/kernel/qstylehints.cpp | |
parent | 3b2ef66a988fc04ce070d74c5dafa4613821c6f6 (diff) |
iOS: activate window when input panel opens
When a window is active in Qt, it means that is has keyboard
focus. And on iOS, we only want a window to be rendered with
keyboard focus when the input panel is open. Therefore we
choose to call QWindowSystemInterface::handleWindowActivated()
as a response to the input panel opening or closing, rather than
from QPlatformWindow::requestActivateWindow(). And becoming or
resigning first responder is that same as showing or hiding
the input panel.
Change-Id: I33b1bad769bec1fdd7c6ae4119b4b445da2f930f
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Diffstat (limited to 'src/gui/kernel/qstylehints.cpp')
0 files changed, 0 insertions, 0 deletions