mirror of
https://github.com/brl/mutter.git
synced 2025-02-10 02:14:09 +00:00
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];
|
MetaMonitorInfo *info = &window->screen->monitor_infos[i];
|
||||||
|
|
||||||
if (info->output_id != 0 && info->output_id == id)
|
if (info->output_id == id)
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user