Skip to content

Commit b9b3c3f

Browse files
committed
Merge pull request godotengine#104889 from MJacred/patch-1
Clarify that `Window.dpi_changed` signal is supported on Linux (Wayland)
2 parents 174251d + 179ce63 commit b9b3c3f

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
@@ -2205,7 +2205,7 @@
22052205
</constant>
22062206
<constant name="WINDOW_EVENT_DPI_CHANGE" value="6" enum="WindowEvent">
22072207
Sent when the window is moved to the display with different DPI, or display DPI is changed.
2208-
[b]Note:[/b] This flag is implemented only on macOS.
2208+
[b]Note:[/b] This flag is implemented only on macOS and Linux (Wayland).
22092209
</constant>
22102210
<constant name="WINDOW_EVENT_TITLEBAR_CHANGE" value="7" enum="WindowEvent">
22112211
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)