From e7859e9a49e09728b81ba197da80cdcf537b48be Mon Sep 17 00:00:00 2001 From: Alex Drozd Date: Sun, 23 Jun 2024 00:15:02 +0200 Subject: [PATCH] Add stub method for mouse_get_position in headless display server --- servers/display_server_headless.h | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/display_server_headless.h b/servers/display_server_headless.h index 51755ddfbdc..7e4a517c1d2 100644 --- a/servers/display_server_headless.h +++ b/servers/display_server_headless.h @@ -153,6 +153,7 @@ public: void tts_stop() override {} void mouse_set_mode(MouseMode p_mode) override {} + Point2i mouse_get_position() const override { return Point2i(); } void clipboard_set(const String &p_text) override {} void clipboard_set_primary(const String &p_text) override {}