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

--center flag not working on kwin and smithay, -W flag not working on smithay #422

Open
itshog opened this issue Aug 8, 2024 · 2 comments

Comments

@itshog
Copy link

itshog commented Aug 8, 2024

The --center flag seems to be ignored by compositors not using wlroots, such as plasma's kwin and compositors using smithay (like niri). As far as I understand, those compositors fully implement the layer shell protocol, so they should meet the requirements for running bemenu. Is the --center flag specific to wlroots?

The -W flag instead doesn't work under smithay compositors, while it works as expected in plasma (so it may be an issue on smithay's end, I don't know).

See YaLTeR/niri#575

@itshog
Copy link
Author

itshog commented Aug 11, 2024

As a side note, both anchoring and sizing work properly under kwin and smithay compositors when using fuzzel, so maybe there's a way to implement these options in a more "generic" way which works across wlroots, kwin and smithay at the same time.

See this commit for the fix in fuzzel and an explanation of the bug (basically, instead of specifying all anchors to center the surface, as bemenu does, it should specify no anchor at all)

@ludg1e
Copy link

ludg1e commented Aug 31, 2024

Can confirm under KDE Plasma 6.1 on Fedora 40

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

No branches or pull requests

2 participants