Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Systray composition support #3664
base: master
Are you sure you want to change the base?
Systray composition support #3664
Changes from all commits
9334dc7
7464c8e
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 64 in systray.c
Codecov / codecov/patch
systray.c#L64
Check warning on line 70 in systray.c
Codecov / codecov/patch
systray.c#L70
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.
Uhm, what? I do not understand the reason behind this whole code block. If some window has a different depth.... so be it. I do not see anything in https://specifications.freedesktop.org/systemtray-spec/systemtray-spec-0.3.html or https://specifications.freedesktop.org/xembed-spec/xembed-spec-latest.html allowing to do this. Do other tray compositing managers do this?
(Basically same comment below to the code that handles changes to
globalconf.systray.background_pixel
)Oh also: This might warrant a comment in the code. It just occurred to me that:
(But what about all the other window properties that are needed for a different depth window? According to https://stackoverflow.com/questions/3645632/how-to-create-a-window-with-a-bit-depth-of-32, one also needs to set a colormap and a border pixel/border pixmap. Why doesn't this code need that?)
Check warning on line 423 in systray.c
Codecov / codecov/patch
systray.c#L422-L423
Check warning on line 427 in systray.c
Codecov / codecov/patch
systray.c#L426-L427
Check warning on line 472 in systray.c
Codecov / codecov/patch
systray.c#L471-L472