Skip to content

Commit 179ce63

Browse files
committed
Update class docs: dpi_changed signal is supported on Linux (Wayland)
1 parent d52b84e commit 179ce63

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/classes/DisplayServer.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2214,7 +2214,7 @@
22142214
</constant>
22152215
<constant name="WINDOW_EVENT_DPI_CHANGE" value="6" enum="WindowEvent">
22162216
Sent when the window is moved to the display with different DPI, or display DPI is changed.
2217-
[b]Note:[/b] This flag is implemented only on macOS.
2217+
[b]Note:[/b] This flag is implemented only on macOS and Linux (Wayland).
22182218
</constant>
22192219
<constant name="WINDOW_EVENT_TITLEBAR_CHANGE" value="7" enum="WindowEvent">
22202220
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).

doc/classes/Window.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@
734734
<signal name="dpi_changed">
735735
<description>
736736
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).
737-
[b]Note:[/b] Only implemented on macOS.
737+
[b]Note:[/b] Only implemented on macOS and Linux (Wayland).
738738
</description>
739739
</signal>
740740
<signal name="files_dropped">

0 commit comments

Comments
 (0)