Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: Fix the InputCapture barrier examples
A barrier is either at the top or at the left edge, not both. This means the actual barriers need to go from zone->x to zone->width - 1, the next pixel (zone->x + zone->width) is the first pixel of the adjacent zone if any. We could allow this in the spec but it makes implementations a lot harder: on a two-screen setup the edge pixel would need special casing, the barrier 0-1920 and 1920-3840 are both valid on either screen despite having a single-pixel overlap. An easier approach is to make sure each barrier only covers the pixels intended, i.e. 0-1919 and 1920 to 3839 in this case.
- Loading branch information