diff options
author | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2009-11-25 12:56:00 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-11-25 14:37:07 (GMT) |
commit | 7b845236d8670bb9cb5884ea60f422d09dafd89c (patch) | |
tree | a56d1fe7332cdd8892b13728e49bc689a3703156 /src | |
parent | a90a5b09a8cd1017b3743175f15c4e548de180fb (diff) | |
download | Qt-7b845236d8670bb9cb5884ea60f422d09dafd89c.zip Qt-7b845236d8670bb9cb5884ea60f422d09dafd89c.tar.gz Qt-7b845236d8670bb9cb5884ea60f422d09dafd89c.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
(cherry picked from commit 48e56643f1b7daf7c255a1e58f0e213b06e15f65)
Diffstat (limited to 'src')
-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; |