Merge revision 1126 changes:
- Windows: cefclient: Fix delivery of mouse up events with offscreen rendering example (issue #902). git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1364@1127 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
78e92cf244
commit
a86fc1de13
|
@ -493,8 +493,8 @@ LRESULT CALLBACK OSRWindow::WndProc(HWND hWnd, UINT message,
|
|||
int x = GET_X_LPARAM(lParam);
|
||||
int y = GET_Y_LPARAM(lParam);
|
||||
CefBrowserHost::MouseButtonType btnType =
|
||||
(message == WM_LBUTTONDOWN ? MBT_LEFT : (
|
||||
message == WM_RBUTTONDOWN ? MBT_RIGHT : MBT_MIDDLE));
|
||||
(message == WM_LBUTTONUP ? MBT_LEFT : (
|
||||
message == WM_RBUTTONUP ? MBT_RIGHT : MBT_MIDDLE));
|
||||
if (browser.get()) {
|
||||
CefMouseEvent mouse_event;
|
||||
mouse_event.x = x;
|
||||
|
|
Loading…
Reference in New Issue