Skip to content

Commit

Permalink
Merge pull request #93494 from brno32/fix-headless-error
Browse files Browse the repository at this point in the history
Add stub method for `mouse_get_position` in headless display server
  • Loading branch information
akien-mga committed Jun 24, 2024
2 parents d7855a0 + e7859e9 commit 6649a84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions servers/display_server_headless.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ class DisplayServerHeadless : public DisplayServer {
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 {}

Expand Down

0 comments on commit 6649a84

Please sign in to comment.