-
-
Notifications
You must be signed in to change notification settings - Fork 591
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 logging related to shader loading #1394
base: next
Are you sure you want to change the base?
Conversation
* the logs were printing errors when loading shaders with rules, signalling there was an issue when loading a shader, but the shaders would load fine just the error message would print on success instead of error
This change would break the logging related to shader loading, unless I'm not recommending that, of course, but I am curious: Is there are particular issue that you're running into that warranted this PR? Or was this found while perusing the codebase? |
So this would mean, that the logmessage should display if load_shader_source is true, which is the change here. In theory it would be nice to improve the logging here on what shader failed to load, but as I'm just dipping my toes I'm cautions in suggesting larger changes. (e.g. I found some missing nullpointer checks in the dbus api which causes picom to segfault. I've suggestions for that but waiting on feedback on this for now) I was checking how the shaders are integrated in picom and how to configure them. Putting it in other words: I don't need this change, I just thought it might be nice to fix something (even minor) when I see it. That is, if my understanding is correct. |
The shaders configured in the picom config are used both times - I've terminated picom for the screenshots though. |
Ah, no, you're very correct! My apologies, I tripped over myself. Carry on! 😅 |
Changelog