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

Curved window borders #1736

Open
MatthewScholefield opened this issue Mar 1, 2024 · 1 comment
Open

Curved window borders #1736

MatthewScholefield opened this issue Mar 1, 2024 · 1 comment
Labels
enhancement New feature or request UI/UX

Comments

@MatthewScholefield
Copy link

MatthewScholefield commented Mar 1, 2024

I use lite xl on Wayland in GNOME (client side decorations) and I think it'd look amazing to have some subtle rounding of the edges on the window (when using client side window decorations). I think it should be feasible to do looking off the testshape.c example within the SDL repo, although I couldn't get the example working locally (I kept running into ERROR: Could not create shaped window for SDL_Shape.).

I may eventually try getting this working, but I just wanted to create the ticket to track. Feel free to close if there's no interest in including this even as a setting.

@MatthewScholefield MatthewScholefield changed the title Curved borders Curved window borders Mar 1, 2024
@Guldoman
Copy link
Member

Guldoman commented Mar 1, 2024

We're planning to revamp our CSD when we port to SDL3, which should allow to easily implement drawing them from the Lua side.

SDL3 implements a more flexible API than shaped windows, which allows to use transparent surfaces for windows.
This would even allow us to draw our own shadows.

@Guldoman Guldoman added enhancement New feature or request UI/UX labels Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request UI/UX
Projects
None yet
Development

No branches or pull requests

2 participants