Skip to content

Add cage clone mode#470

Open
n3rdopolis wants to merge 1 commit intocage-kiosk:masterfrom
n3rdopolis:clonemode
Open

Add cage clone mode#470
n3rdopolis wants to merge 1 commit intocage-kiosk:masterfrom
n3rdopolis:clonemode

Conversation

@n3rdopolis
Copy link
Copy Markdown

@n3rdopolis n3rdopolis commented Jan 10, 2026

The main window will be restricted to the smallest dimensions of all possible screens

This is assuming #466 is merged as I didn't test -m last mode

@n3rdopolis n3rdopolis force-pushed the clonemode branch 5 times, most recently from 3d6e64d to 54da17b Compare January 15, 2026 02:15
@n3rdopolis n3rdopolis marked this pull request as ready for review January 15, 2026 02:34
@n3rdopolis
Copy link
Copy Markdown
Author

n3rdopolis commented Jan 15, 2026

I found out how to constrain the cursor, as well as other things instead of just top-level resizing

EDIT: One more update to make the cursor constraint a lot less jittery

@emersion
Copy link
Copy Markdown
Member

I think this would be a lot easier to implement and more robust with this wlroots change: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/4019

@n3rdopolis
Copy link
Copy Markdown
Author

Ok, but for now, this might be an OK enough stop-gap at least in when it's added to wlroots, and the -m options are dropped? It seems that there are other requests for Cage to have clone-mode?

wlr_viewport seems like it has to wait for protocol approval based on what I see, right?

@n3rdopolis
Copy link
Copy Markdown
Author

Let me know if I need to change anything? Or does this have to wait for wlr_viewport?

The main window will be restricted to the smallest dimensions of all possible screens
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.

2 participants