diff options
author | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2009-11-25 12:56:00 (GMT) |
---|---|---|
committer | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2009-11-25 12:56:00 (GMT) |
commit | 48e56643f1b7daf7c255a1e58f0e213b06e15f65 (patch) | |
tree | 932c467e380e6ee31e36939603a0676f5e5232c1 /src/corelib | |
parent | 82657e28ebe0ed5b1d60b2a18ac4af145f5c4c46 (diff) | |
download | Qt-48e56643f1b7daf7c255a1e58f0e213b06e15f65.zip Qt-48e56643f1b7daf7c255a1e58f0e213b06e15f65.tar.gz Qt-48e56643f1b7daf7c255a1e58f0e213b06e15f65.tar.bz2 |
On Windows Flash is played only while moving mouse inside the plugin.
Qt is using the same window message as Flash plugin. We need to check
the window handle before we treat this as Qt internal message.
Reviewed-by: Bradley T. Hughes
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/kernel/qeventdispatcher_win.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qeventdispatcher_win.cpp b/src/corelib/kernel/qeventdispatcher_win.cpp index b3497b9..b197b9d 100644 --- a/src/corelib/kernel/qeventdispatcher_win.cpp +++ b/src/corelib/kernel/qeventdispatcher_win.cpp @@ -725,7 +725,7 @@ bool QEventDispatcherWin32::processEvents(QEventLoop::ProcessEventsFlags flags) } } if (haveMessage) { - if (msg.message == WM_QT_SENDPOSTEDEVENTS) { + if (d->internalHwnd == msg.hwnd && msg.message == WM_QT_SENDPOSTEDEVENTS) { if (seenWM_QT_SENDPOSTEDEVENTS) { needWM_QT_SENDPOSTEDEVENTS = true; continue; |