mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-22 06:35:57 +01:00
Revert "screencast: workaround corrupted output_list"
This reverts commit 94f1f5d0a8
.
This commit is contained in:
parent
e89c58c731
commit
f978a6eb77
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue