[mutter] window: Don't treat an output_id of 0 as an invalid ID
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] window: Don't treat an output_id of 0 as an invalid ID
- Date: Tue, 1 Jul 2014 17:45:37 +0000 (UTC)
commit 42c972735e14ecaa98fa05818c722ab6bc5d7925
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Jul 1 13:18:31 2014 -0400
window: Don't treat an output_id of 0 as an invalid ID
src/core/window.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index 1a8bdcf..e1300b2 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]