docs: the comparison is size and position, not only size (Thanks Merovius)

This commit is contained in:
Michael Stapelberg 2010-02-22 07:09:17 +01:00
parent 4fcbb7980e
commit e209fd7d3a
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}