emersion / xdg-desktop-portal-wlr

xdg-desktop-portal backend for wlroots
MIT License
579 stars 53 forks source link

Consider outputs created by chooser_cmd #312

Open hrdl-github opened 1 month ago

hrdl-github commented 1 month ago

At the moment I conditionally create a headless output via swaymsg create_output in case there are no headless outputs. I've tried adding this to chooser_cmd, but this fails the first time because the output is not in ctx->output_list. Do you have any opinion on whether this is worth fixing and if so, how?