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

Backport fix NullReferenceException in X11Window.Activate #14787

Merged

Conversation

pos777
Copy link

@pos777 pos777 commented Mar 2, 2024

What does the pull request do?

In v11.0.9 the X11Window.Activate method throws the NullReferenceException when platform.Options.EnableInputFocusProxy == false and x11.Atoms._NET_ACTIVE_WINDOW == IntPtr.Zero.

The issue is fixed in the master branch:

if (_focusProxy is not null)

This PR backports the fix to v11.0.x

@maxkatz6 maxkatz6 merged commit 75aea9d into AvaloniaUI:release/11.0 Mar 5, 2024
3 checks passed
@grokys grokys added bug backported-11.0.x backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch labels Aug 1, 2024
@maxkatz6 maxkatz6 removed the backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch label Aug 9, 2024
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.

4 participants