nmggithub

#49442: fix: return early from platform_util::Beep() on Linux if there is no default GDK display

Merged
Created: Jan 18, 2026, 11:25:42 PM
Merged: Jan 21, 2026, 2:55:25 PM
9 comments
Target: main

Description of Change

Adds a missing null check for when gdk_display_get_default() returns NULL.

Should fix #49436.

Checklist

Release Notes

Notes: Fixed crash in platform_util::Beep() on Linux

Backports

39-x-y
Merged
PR Number
#49484
Merged At
Jan 23, 2026, 4:07:48 AM
Released In
Not yet
Release Date
Not yet
40-x-y
Merged
PR Number
#49482
Merged At
Jan 22, 2026, 12:32:47 PM
Released In
Not yet
Release Date
Not yet
41-x-y
Merged
PR Number
#49483
Merged At
Jan 22, 2026, 2:00:38 PM
Released In
Not yet
Release Date
Not yet

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron