Skip to content

pointer_input: don't apply corner barrier with neighboring screen

Yifan Zhu requested to merge work/fanzhuyifan/barrier into master

pointer_input: don't apply corner barrier with neighboring screen

When there is a neighboring screen in the direction of the corner, use ordinary edge barrier instead of corner barrier. By neighboring screen, we mean a screen whose center is in the direction of the corner. This design ensures that the corner barrier is still correctly applied in the case of horizontally aligned screens with some vertical offset.

BUG: 483651

CC @ngraham @ndavis

Original first commit now in separate MR: !5448 (merged)

Edited by Yifan Zhu

Merge request reports

Loading