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

Implement key binds to control virtual outputs #1287

Merged
merged 10 commits into from
Dec 9, 2023

Conversation

kyak
Copy link
Contributor

@kyak kyak commented Dec 6, 2023

It is now possible to use keybinds to add and remove virtual outputs (also called headless backend in wlroots terminology).

Closes #1279

Thanks to @Consolatis for original PoC patch and guidance!

It is now possible to use keybinds to add and remove virtual outputs
(also called headless backend in wlroots terminology).
docs/labwc-actions.5.scd Outdated Show resolved Hide resolved
src/action.c Outdated Show resolved Hide resolved
src/output.c Outdated Show resolved Hide resolved
src/server.c Outdated Show resolved Hide resolved
@kyak
Copy link
Contributor Author

kyak commented Dec 8, 2023

@Consolatis thanks for your review. I've addressed your comments.

Do I need to squash everything into a single commit?

@Consolatis
Copy link
Member

Consolatis commented Dec 8, 2023

Do I need to squash everything into a single commit?

@kyak up to you. In general yes but we can also do that when merging.

As this is a feature that I helped to design and we usually don't self-merge I'd prefer if @johanmalm could have a final look over this PR. From my POV this is ready to go after squashing.

include/labwc.h Outdated Show resolved Hide resolved
src/output.c Outdated Show resolved Hide resolved
src/output.c Outdated Show resolved Hide resolved
src/output.c Show resolved Hide resolved
src/output.c Outdated Show resolved Hide resolved
src/output.c Show resolved Hide resolved
src/server.c Outdated Show resolved Hide resolved
src/server.c Outdated Show resolved Hide resolved
src/server.c Show resolved Hide resolved
src/server.c Outdated Show resolved Hide resolved
@johanmalm
Copy link
Collaborator

Happy in principle. Just a bunch of fairly trivial comments.

@kyak
Copy link
Contributor Author

kyak commented Dec 9, 2023

@johanmalm thanks! I've addressed most of your comments. Kept it in separate to-be-squashed commits for better traceability.

src/output.c Outdated Show resolved Hide resolved
@kyak kyak requested a review from johanmalm December 9, 2023 08:56
@johanmalm johanmalm merged commit 111b955 into labwc:master Dec 9, 2023
5 checks passed
@johanmalm
Copy link
Collaborator

Great effort. Thanks!

@kyak kyak deleted the virtual-output branch December 9, 2023 09:30
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 this pull request may close these issues.

Adding and removing virtual outputs (headless)
3 participants