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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants