Page MenuHomeFreeBSD

vt(4): Simplify mouse area detection
ClosedPublic

Authored by emaste on Apr 23 2015, 5:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 1, 4:34 AM
Unknown Object (File)
Fri, Oct 31, 11:28 PM
Unknown Object (File)
Fri, Oct 31, 11:28 PM
Unknown Object (File)
Fri, Oct 31, 7:00 PM
Unknown Object (File)
Fri, Oct 24, 3:58 AM
Unknown Object (File)
Wed, Oct 8, 11:00 PM
Unknown Object (File)
Oct 7 2025, 9:10 AM
Unknown Object (File)
Oct 4 2025, 3:02 PM
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.