feat: support dip <-> screen conversion on Linux X11 (#46211)

feat: support dip <-> screen conversion on Linux
This commit is contained in:
Shelley Vohr
2025-05-02 10:31:45 +02:00
committed by GitHub
parent 2b07e6450c
commit ede84fc327
9 changed files with 106 additions and 31 deletions

View File

@@ -356,7 +356,7 @@ as `-webkit-app-region: drag` in a frameless window.
Calling `event.preventDefault()` will prevent the menu from being displayed.
To convert `point` to DIP, use [`screen.screenToDipPoint(point)`](./screen.md#screenscreentodippointpoint-windows).
To convert `point` to DIP, use [`screen.screenToDipPoint(point)`](./screen.md#screenscreentodippointpoint-windows-linux).
### Static Methods