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

Add composited transparency #15

Closed
onli opened this issue Dec 4, 2023 · 1 comment
Closed

Add composited transparency #15

onli opened this issue Dec 4, 2023 · 1 comment

Comments

@onli
Copy link
Owner

onli commented Dec 4, 2023

Simdock should use real transparency for its background when a compositor is active.

This would fix #9 and likely #6.

Before now, this was impossible since the wxwidgets compositing feature was broken. Maybe it's fixed now, after the move to GTK3 in #11. However, an initial test did not work -> enabling transparency for the frame background in wxWidgets still seems to be completely broken. But maybe that's not true, and someone knows how to get it to work. Comments, PRs etc welcome.

@onli
Copy link
Owner Author

onli commented Dec 4, 2023

And just like that - it works! The solution was what I linked in #9 (comment): SetBackgroundStyle(wxBG_STYLE_TRANSPARENT); before the custom wxFrame gets created.

I will check that the composited approach actually works in IceWM (it not working in other docks was the main factor in me maintaining this project), if not it will get a setting. Update: No issues in icewm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant