qt5base-lts/src
Tor Arne Vestbø 676edc006e OS X: Forward key events to popup window if present
On OS X we don't treat popup windows as worthy of being activated and
focus windows (key windows). Instead we keep track of the active popup
windows and forward events to them manually.

The forwarding logic is split between QPA, which handles mouse, and
QWidgetWindow and QQuickWindowPrivate, which handles key events.

This commit adds the logic for key events to QPA, which is the right
platform layer for this kind of workarounds. The widget code is left
as is for now, and the QQuickWindowPrivate code can be removed in
a follow up.

Task-number: QTBUG-39415
Change-Id: Iee411fcba9fc81ddcc3a7bc82591184675a6d7a2
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
2015-10-12 17:14:00 +00:00
..
3rdparty Merge remote-tracking branch 'origin/5.5' into 5.6 2015-10-02 16:59:55 +02:00
android Android: Always queue calls from Qt to Android. 2015-09-15 13:23:57 +00:00
angle don't overquote library path 2015-10-01 16:19:05 +00:00
concurrent Doc: Qt Concurrent: Link to essential usage information 2015-04-07 14:38:29 +00:00
corelib Fixed a QTimer::singleShot() crash when a functor callback is used 2015-10-12 16:45:04 +00:00
dbus Fix crash in QMetaProperty::write for custom types and conversion 2015-10-09 07:59:07 +00:00
gui DirectFB: Use correct pixel format for Texture Glyph Cache 2015-10-12 09:33:07 +00:00
network Merge remote-tracking branch 'origin/5.5' into 5.6 2015-10-02 16:59:55 +02:00
opengl Doc: fixed links to qmake documentation 2015-09-25 10:57:51 +00:00
openglextensions Fix typo when resolving EGL extension. 2015-04-23 11:54:36 +00:00
platformheaders Merge remote-tracking branch 'origin/5.5' into dev 2015-08-06 10:54:01 +02:00
platformsupport Add missing "We mean it" comments to private headers. 2015-10-05 12:10:45 +00:00
plugins OS X: Forward key events to popup window if present 2015-10-12 17:14:00 +00:00
printsupport Merge remote-tracking branch 'origin/5.5' into 5.6 2015-10-02 16:59:55 +02:00
sql Doc: fixed links to qmake documentation 2015-09-25 10:57:51 +00:00
testlib Distinguish between Objective-C and Objective-C++ sources 2015-10-09 15:15:17 +00:00
tools qdoc: Avoid extra spaces in function synopses 2015-10-07 10:05:51 +00:00
widgets QTreeWidget: Fixed reverse order of first level items in Drag and Drop 2015-10-08 09:18:52 +00:00
winmain winrt: Add support for native pickers for Windows Phone. 2015-09-07 06:05:05 +00:00
xml xml: Use the correct QString::arg() overload 2015-10-08 08:18:52 +00:00
src.pro Merge remote-tracking branch 'origin/5.5' into dev 2015-07-01 11:05:26 +02:00