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

Use layer shell surfaces #65

Open
coffeeispower opened this issue Dec 22, 2024 · 1 comment · May be fixed by #66
Open

Use layer shell surfaces #65

coffeeispower opened this issue Dec 22, 2024 · 1 comment · May be fixed by #66

Comments

@coffeeispower
Copy link

coffeeispower commented Dec 22, 2024

Layer surfaces are a way in wayland to create windows without decoration and to be positioned anywere on the screen, you can also put anchors on the sides, corners or center of the screen, make the layer be displayed on top or behind other windows or if they're exclusive (reserves space for the layer, useful for bars for example so the windows do not go behind the bar), they're used for bars, widgets, overlays, background, context menus, etc... All wayland compositors excluding gnome already support them and it's a shame that this project is not using layer surfaces because you don't need to position the window manually anymore, you can pass through the mouse clicks and the window also has no decorations.
You can look at this library to use layer surfaces in gtk to start: https://github.com/wmww/gtk4-layer-shell/tree/main

@coffeeispower coffeeispower linked a pull request Dec 22, 2024 that will close this issue
@AlynxZhou
Copy link
Owner

it's a shame that this project is not using layer surfaces

Not a shame, the author is a GNOME lover and won't change all of his habits only because of layer shell.

But it is OK to support layer shell in this app, especially you know how to do it.

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

Successfully merging a pull request may close this issue.

2 participants