Bug 45047 - WebViews should allow their parent windows to handle WM_MOUSEACTIVATE messages
Summary: WebViews should allow their parent windows to handle WM_MOUSEACTIVATE messages
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All Windows 7
: P2 Normal
Assignee: Jessie Berlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-01 11:16 PDT by Jessie Berlin
Modified: 2010-09-01 16:19 PDT (History)
3 users (show)

See Also:


Attachments
Sets handled to false in WebViewWndProc while handling the WM_MOUSEACTIVATE message. (1.02 KB, patch)
2010-09-01 11:21 PDT, Jessie Berlin
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jessie Berlin 2010-09-01 11:16:47 PDT
Right now we leave handled as true when we process the WM_MOUSEACTIVATE message, which then prevents us from calling DefWindowProc (which would pass the message to the parent window).

We should set handled to false when we process the WM_MOUSEACTIVATE message so we call DefWindowProc.
Comment 1 Jessie Berlin 2010-09-01 11:21:52 PDT
Created attachment 66238 [details]
Sets handled to false in WebViewWndProc while handling the WM_MOUSEACTIVATE message.
Comment 2 Adam Roben (:aroben) 2010-09-01 13:52:12 PDT
Comment on attachment 66238 [details]
Sets handled to false in WebViewWndProc while handling the WM_MOUSEACTIVATE message.

r=me
Comment 3 Jessie Berlin 2010-09-01 16:19:35 PDT
Comment on attachment 66238 [details]
Sets handled to false in WebViewWndProc while handling the WM_MOUSEACTIVATE message.

Committed in r66623
http://trac.webkit.org/changeset/66623