window: Don't treat an output_id of 0 as an invalid ID
This commit is contained in:
parent
110c79d10e
commit
42c972735e
@ -3536,7 +3536,7 @@ find_monitor_by_id (MetaWindow *window,
|
||||
{
|
||||
MetaMonitorInfo *info = &window->screen->monitor_infos[i];
|
||||
|
||||
if (info->output_id != 0 && info->output_id == id)
|
||||
if (info->output_id == id)
|
||||
return info;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user