Revert "screencast: workaround corrupted output_list"

This reverts commit 94f1f5d0a8.
This commit is contained in:
columbarius 2021-04-19 12:35:21 +02:00 committed by Simon Ser
parent e89c58c731
commit f978a6eb77
1 changed files with 1 additions and 2 deletions

View File

@ -432,8 +432,7 @@ static bool wlr_output_chooser(struct xdpw_output_chooser *chooser,
logprint(TRACE, "wlroots: output chooser %s selects output %s", chooser->cmd, name);
wl_list_for_each(out, output_list, link) {
// TODO: Replugging of outputs can result in a corrupted output_list
if (out->name && strcmp(out->name, name) == 0) {
if (strcmp(out->name, name) == 0) {
*output = out;
break;
}