fix: return early from platform_util::Beep() on Linux if there is no default GDK display#49442
Conversation
|
💖 Thanks for opening this pull request! 💖 Semantic PR titlesWe use semantic commit messages to streamline the release process. Before your pull request can be merged, you should update your pull request title to start with a semantic prefix. Examples of commit messages with semantic prefixes:
Commit signingThis repo enforces commit signatures for all incoming PRs. PR tipsThings that will help get your PR across the finish line:
We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can. |
|
Honestly, not sure why we moved to GTK/GDK-specific code here (#44734) @ckerr thoughts? The older method did seem more generic, albeit clunky. Is using the GTK/GDK API's here safe for all cases where |
|
@nmggithub please sign your commit! |
Will do! Just give me a few moments! |
bf4d698 to
511f97b
Compare
Should be signed now! Apologies for not doing that before. |
|
Release Notes Persisted
|
|
I have automatically backported this PR to "40-x-y", please check out #49482 |
|
I have automatically backported this PR to "41-x-y", please check out #49483 |
|
I have automatically backported this PR to "39-x-y", please check out #49484 |
Description of Change
Adds a missing null check for when
gdk_display_get_default()returnsNULL.Should fix #49436.
Checklist
Release Notes
Notes: Fixed crash in platform_util::Beep() on Linux