From e209fd7d3a91654a14672cdcf88e271a9bc6d5c2 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 22 Feb 2010 07:09:17 +0100 Subject: [PATCH] docs: the comparison is size and position, not only size (Thanks Merovius) --- src/xinerama.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xinerama.c b/src/xinerama.c index 15e8b0a3..f6af933e 100644 --- a/src/xinerama.c +++ b/src/xinerama.c @@ -51,8 +51,8 @@ bool screens_are_equal(i3Screen *screen1, i3Screen *screen2) { if (screen1 == screen2) return true; - /* Compare their size - other properties are not relevant to determine - * if a screen is equal to another one */ + /* Compare their size and position - other properties are not relevant + * to determine if a screen is equal to another one */ return (memcmp(&(screen1->rect), &(screen2->rect), sizeof(Rect)) == 0); } -- 2.39.5