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

fix: fix cast in ElectronDesktopWindowTreeHostLinux #42185

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented May 14, 2024

Backport of #42179

See that PR for details.

Notes: Fix crash on window maximize on X11

The frame view of the widget is an `ClientFrameViewLinux` instance only
when both `frame` and `client_frame` booleans are set to `true`.
Otherwise it is an instance of a different class and thus casting to
`ClientFrameViewLinux` is incorrect and leads to crashes.

Fix: #41839

Co-authored-by: Fedor Indutny <indutny@signal.org>
@trop trop bot requested a review from a team May 14, 2024 21:27
@trop trop bot added 30-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels May 14, 2024
@VerteDinde VerteDinde merged commit 60f48e1 into 30-x-y May 14, 2024
19 of 20 checks passed
@VerteDinde VerteDinde deleted the trop/30-x-y-bp-fix-fix-cast-in-electrondesktopwindowtreehostlinux-1715722006831 branch May 14, 2024 23:14
Copy link

release-clerk bot commented May 14, 2024

Release Notes Persisted

Fix crash on window maximize on X11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
30-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant