summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrasanth Ullattil <prasanth.ullattil@nokia.com>2009-11-25 12:56:00 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-11-25 14:49:45 (GMT)
commit9d3aa3b82d544b79f5504ac0c27421e17ea6a2eb (patch)
tree6b57626d4dd0695ad1dba8c5d417d8b63a57666f
parent40b8beb9fed3646532c63e7db8114a8b60a6ba87 (diff)
downloadQt-9d3aa3b82d544b79f5504ac0c27421e17ea6a2eb.zip
Qt-9d3aa3b82d544b79f5504ac0c27421e17ea6a2eb.tar.gz
Qt-9d3aa3b82d544b79f5504ac0c27421e17ea6a2eb.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) (cherry picked from commit 7b845236d8670bb9cb5884ea60f422d09dafd89c)
-rw-r--r--src/corelib/kernel/qeventdispatcher_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qeventdispatcher_win.cpp b/src/corelib/kernel/qeventdispatcher_win.cpp
index e208303..b3a7b30 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;