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

I would like to nest two Cage instances in Weston. Does Cage allow app_id/app-id overriding? #400

Open
abotelho-cbn opened this issue Feb 7, 2025 · 2 comments

Comments

@abotelho-cbn
Copy link

Weston requires Wayland clients to set app_id in order to position windows on specific displays.

Is there a way to override the app_id property at launch with Cage? This would allow launching one Cage instance on a primary display, and a second Cage instance on a secondary display.

Cheers

@joggee-fr
Copy link
Collaborator

Hi @abotelho-cbn,
I am not aware of such a feature for Cage.

However, I can see the main application title i.e. the one which gets the focus is "transferred" to the Wayland output when Cage is nested in an other Wayland compositor (wlr_wl_output_set_title()).
@emersion, do you think the app_id should also be transfered in this case?

@abotelho-cbn
Copy link
Author

abotelho-cbn commented Feb 10, 2025

I'm not much of a C programmer, but that was my impression as well. I couldn't get a patched version of Debian 12's Cage to compile with changes though; I don't understand enough about what I'm reading to be able to figure it out.

How difficult would you expect adding flag or environment variable to override this would be?

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