Commit 42c97273 authored by Jasper St. Pierre's avatar Jasper St. Pierre
Browse files

window: Don't treat an output_id of 0 as an invalid ID

parent 110c79d1
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment