Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bd5ccf06 authored by mattsziklay's avatar mattsziklay
Browse files

Determine indicator type for input outside of display.

Removes explicit TO_DESKTOP region calculation in favor of using
defaults for inputs outside display bounds. Namely:

- Inputs with x < 0 will return a TO_SPLIT_LEFT indicator.
- Inputs with x > display width will return TO_SPLIT_RIGHT indicator.
- Inputs anywhere else not in an explicitly defined region will default
  to NO_INDICATOR for freeform task drags and TO_DESKTOP for all others.
- Fullscreen region is updated to have the top be Short.MIN_VALUE to
  serve as an arbitrarily low number.

This fixes an issue where certain transitions could crash when receiving
input outside of display bounds.

Indicator test is updated accordingly.

Fix: 370613574
Test: Manual
Flag: EXEMPT bug fix
Change-Id: I5ad1aceab557f4546c68e841e5a8998b834143c6
parent f9c546be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment