mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-19 12:56:06 +00:00
The compositor takes touch and pointer positions over its whole output and removes the letterbox bars itself, but the session sent them already measured from the picture's edge, so the bars were taken off twice. Any session whose output is a different shape from the panel (16:9 on a 16:10 tablet or a foldable, a fixed resolution on a wide phone) had taps and the touchpad pointer pulled away from the centre, by up to a bar's height at the edges: on a 2400x1504 panel showing 1280x720, a tap near the top reached the first row and one near the bottom landed 32 rows low. Stretch to panel hid it because that output has no bars. Direct touch, the touchpad and mouse pointer, and the second-screen pointer now send positions over the whole view, so the compositor's own mapping puts them on the pixel under the finger.