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 an option to force fullscreen #302

Open
Dareka826 opened this issue Jan 13, 2024 · 2 comments
Open

Add an option to force fullscreen #302

Dareka826 opened this issue Jan 13, 2024 · 2 comments

Comments

@Dareka826
Copy link

It would be useful for cage to have a commandline switch that forces its clients to be fullscreen.

This would prevent black bars in applications that don't take the full screen space when maximized.

At least that's what I think is happening in #254.

This is a problem especially for terminal emulators.

@mjt0k
Copy link

mjt0k commented Jul 11, 2024

FWIW, in multi-monitor mode (-m extend, the default), fullscreen means something.. interesting, - it literally is full screen, consisting of multiple monitors. I'm trying to find a way to be able to use a single monitor for a terminal emulator, not full screen.

@joggee-fr
Copy link
Collaborator

@Dareka826
For the black bars issue, I need to create a new PR from #278 to rebase and propose separately the commit that should fix the issue.
However, it may be nice to add an option in Cage to fullscreen applications instead of maximizing them. In the same topic, implementing wlr foreign toplevel management could also be an interesting option to do so, see issue #99.

@mjt0k
This multi-monitor mode is by design, see display configuration in wiki.
With wlr foreign toplevel management protocol support, we may use set_fullscreen to select only one output.

Patches are welcome.

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

3 participants