-
-
Notifications
You must be signed in to change notification settings - Fork 622
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
set_struts improvements #1849
set_struts improvements #1849
Conversation
cba15e6
to
8e07629
Compare
782b39b
to
f696db3
Compare
✅ Deploy Preview for conkyweb canceled.
|
5cdaf05
to
a452468
Compare
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
a452468
to
a2df27a
Compare
Did this to abide by: A "corner" panel that does not extend for the full length of a screen border SHOULD only set one strut. Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
cb6adb7
to
87f21ca
Compare
@brndnmtthws Try re-running CI when you get to this, I tested it and it should work. CI is failing on package install for some reason. |
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.
PR looks good, the CI issue looks temporary.
Seems to be a known issue, just need to wait for it to be resolved: https://www.githubstatus.com/incidents/7txcg0j03kkg |
This PR modifies
set_struts
function to acceptalignment
directly instead of using an intermediate value.This commit makes code easier to follow and improves performance a tiny bit because it inlines a loop.
Testing
main
, it's possible this is a bug in Openbox because set values seem fine.