Page MenuHomeFreeBSD

vt(4): Simplify mouse area detection
ClosedPublic

Authored by emaste on Apr 23 2015, 5:16 PM.
Tags
None
Referenced Files
F114595407: D2356.id.diff
Mon, Apr 14, 6:42 AM
F114588835: D2356.id4982.diff
Mon, Apr 14, 5:24 AM
F114580063: D2356.id4970.diff
Mon, Apr 14, 3:40 AM
F114578084: D2356.diff
Mon, Apr 14, 3:14 AM
F114565916: D2356.id4982.diff
Mon, Apr 14, 12:54 AM
Unknown Object (File)
Wed, Apr 2, 1:32 PM
Unknown Object (File)
Fri, Mar 21, 3:51 AM
Unknown Object (File)
Mar 10 2025, 11:43 AM
Subscribers
None

Details

Summary

vt_is_cursor_in_area needs to return true if any part of the mouse cursor is visible in the rectangle area. Replace the existing test with a simpler version of a test for overlapping rectangles.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste retitled this revision from to vt(4): Simplify mouse area detection.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added reviewers: dim, ray.
ray edited edge metadata.

I like it

This revision is now accepted and ready to land.Apr 23 2015, 5:33 PM
This revision was automatically updated to reflect the committed changes.