mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
alloy: Use Views context menus on Windows/Linux (fixes issue #3330)
This commit is contained in:
@ -1175,6 +1175,7 @@ bool BrowserWindowOsrGtk::GetScreenPoint(CefRefPtr<CefBrowser> browser,
|
||||
device_scale_factor = device_scale_factor_;
|
||||
}
|
||||
|
||||
// Convert from view DIP coordinates to screen device (pixel) coordinates.
|
||||
GdkRectangle screen_rect;
|
||||
GetWidgetRectInScreen(glarea_, &screen_rect);
|
||||
screenX = screen_rect.x + LogicalToDevice(viewX, device_scale_factor);
|
||||
|
Reference in New Issue
Block a user