tablet: fix mapping when mapped region is specified (#6206)
When `region_size` is set in the config (non-empty `boundBox`), cursor is mapped to wrong coordinate because `CBox::translate` mutates `TAB->boundBox`, making all subsequent coordinate calculations wrong. This also fixes the edge case where user sets `region_position` but not `region_size`.
M
Ming-Chuan committed
df80fbf70650dfb0d96381a1d86d30811cf516f4
Parent: 25b9446
Committed by GitHub <noreply@github.com>
on 5/23/2024, 11:52:32 AM