Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement DisplayServer.beep. #99371

Merged
merged 1 commit into from
Dec 3, 2024
Merged

Implement DisplayServer.beep. #99371

merged 1 commit into from
Dec 3, 2024

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Nov 17, 2024

Implements DisplayServer.beep method to make annoying sounds.

Implements godotengine/godot-proposals#11179

Copy link
Contributor

@Riteo Riteo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wayland implementation checks out!

Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally on Windows 11 23H2, it works as expected.

@mhilbrunner
Copy link
Member

Why DisplayServer.beep() and not OS.beep()?

@bruvzg
Copy link
Member Author

bruvzg commented Nov 18, 2024

Why DisplayServer.beep() and not OS.beep()?

It depends on X11 and Wayland to work.

Copy link
Member

@mhilbrunner mhilbrunner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Truly tragic that you didn't expose the parameter to use the exclamation sound on Windows :p

Docs, style, code and Git commit LGTM. Haven't built and tested as Calinou was faster.

@Mickeon
Copy link
Contributor

Mickeon commented Dec 2, 2024

I think it's really funny that we're bound to merge the ability for Godot developers to annoy the user with little demand

doc/classes/DisplayServer.xml Outdated Show resolved Hide resolved
@Repiteo Repiteo merged commit 40a65e7 into godotengine:master Dec 3, 2024
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Dec 3, 2024

Thanks?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants