From: Michael Stapelberg Date: Mon, 22 Feb 2010 06:09:17 +0000 (+0100) Subject: docs: the comparison is size and position, not only size (Thanks Merovius) X-Git-Tag: 3.e~6^2~140 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e209fd7d3a91654a14672cdcf88e271a9bc6d5c2;p=i3%2Fi3 docs: the comparison is size and position, not only size (Thanks Merovius) --- 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); }