Merge pull request #104889 from MJacred/patch-1

Clarify that `Window.dpi_changed` signal is supported on Linux (Wayland)
This commit is contained in:
Thaddeus Crews 2025-04-01 19:53:36 -05:00
commit b9b3c3fe14
No known key found for this signature in database
GPG Key ID: 8C6E5FEB5FC03CCC
2 changed files with 2 additions and 2 deletions

View File

@ -2205,7 +2205,7 @@
</constant>
<constant name="WINDOW_EVENT_DPI_CHANGE" value="6" enum="WindowEvent">
Sent when the window is moved to the display with different DPI, or display DPI is changed.
[b]Note:[/b] This flag is implemented only on macOS.
[b]Note:[/b] This flag is implemented only on macOS and Linux (Wayland).
</constant>
<constant name="WINDOW_EVENT_TITLEBAR_CHANGE" value="7" enum="WindowEvent">
Sent when the window title bar decoration is changed (e.g. [constant WINDOW_FLAG_EXTEND_TO_TITLE] is set or window entered/exited full screen mode).

View File

@ -734,7 +734,7 @@
<signal name="dpi_changed">
<description>
Emitted when the [Window]'s DPI changes as a result of OS-level changes (e.g. moving the window from a Retina display to a lower resolution one).
[b]Note:[/b] Only implemented on macOS.
[b]Note:[/b] Only implemented on macOS and Linux (Wayland).
</description>
</signal>
<signal name="files_dropped">