Allow to set app id from command line

This commit is contained in:
Simon Lipp 2025-03-09 14:36:55 +01:00
parent 360e259ca5
commit 00e7172509
3 changed files with 10 additions and 1 deletions

View file

@ -272,6 +272,10 @@ handle_new_output(struct wl_listener *listener, void *data)
return;
}
if (server->app_id != NULL && wlr_output_is_wl(wlr_output)) {
wlr_wl_output_set_app_id(wlr_output, server->app_id);
}
output->wlr_output = wlr_output;
wlr_output->data = output;
output->server = server;