-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Add _NET_WM_PID atom to Linux X11 window #17470
base: master
Are you sure you want to change the base?
Conversation
e64354a
to
8438a62
Compare
You can test this PR using the following package version. |
You can test this PR using the following package version. |
_x11.Atoms._NET_WM_PID, _x11.Atoms.XA_CARDINAL, 32, | ||
PropertyMode.Replace, ref pid, 1); | ||
|
||
const int maxLength = 1024; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Host names are limited to MAXHOSTNAMELEN (from <sys/param.h>) characters including null-termination, currently 256.
@kekekeks Any update? |
What does the pull request do?
Append the
_NET_WM_PID
atom to Linux X11 window.I learn from gtk3:
And I learn from qt:
What is the current behavior?
Miss the
_NET_WM_PID
atom in Avalonia Linux x11 window.What is the updated/expected behavior with this PR?
We can find the
_NET_WM_PID
atom in Avalonia Linux x11 window. And we get the the Process Id from Avalonia Linux x11 window by_NET_WM_PID
atom.How was the solution implemented (if it's not obvious)?
Checklist
Breaking changes
Obsoletions / Deprecations
Fixed issues
Fixes #17444