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

Override app id in nested-wayland context #8145

Open
andrewbaxter opened this issue May 3, 2024 · 0 comments
Open

Override app id in nested-wayland context #8145

andrewbaxter opened this issue May 3, 2024 · 0 comments
Labels
enhancement New feature or incremental improvement

Comments

@andrewbaxter
Copy link

andrewbaxter commented May 3, 2024

  • Description:
    Right now when sway is started as a nested compositor its windows get the id "wlroots". I'd like to be able to define styling rules, etc based on the app id and need a unique app id in order to do this. Would it be possible to allow overriding this, as a command line option, config file option, or environment variable?

I think this would need a wlroots change around here: https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/master/backend/wayland/output.c#L867

	wlr_wl_output_set_title(&output->wlr_output, NULL);

	xdg_toplevel_set_app_id(output->xdg_toplevel, "wlroots");
	xdg_surface_add_listener(output->xdg_surface,
			&xdg_surface_listener, output);

FWIW I opened the issue here because this is where the ultimate use-case is.

@andrewbaxter andrewbaxter added the enhancement New feature or incremental improvement label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or incremental improvement
Development

No branches or pull requests

1 participant