summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qstylehints.cpp
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@digia.com>2013-06-18 11:03:16 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-06-25 15:10:50 +0200
commita3b5947d3623ac3da4ee21056214835f1e5c06da (patch)
treea69d8073c19a3e4bec2564926e978c76bd212db5 /src/gui/kernel/qstylehints.cpp
parent3b2ef66a988fc04ce070d74c5dafa4613821c6f6 (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