fix: screen.getCursorScreenPoint()
crash on Wayland (#35503)
fix: screen.getCursorScreenPoint() crash on Wayland
This commit is contained in:
parent
98c0fa1c8b
commit
2db0f7f8d4
2 changed files with 17 additions and 2 deletions
|
@ -40,7 +40,7 @@ class Screen : public gin::Wrappable<Screen>,
|
|||
Screen(v8::Isolate* isolate, display::Screen* screen);
|
||||
~Screen() override;
|
||||
|
||||
gfx::Point GetCursorScreenPoint();
|
||||
gfx::Point GetCursorScreenPoint(v8::Isolate* isolate);
|
||||
display::Display GetPrimaryDisplay();
|
||||
std::vector<display::Display> GetAllDisplays();
|
||||
display::Display GetDisplayNearestPoint(const gfx::Point& point);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue