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)
Sun, Dec 14, 8:39 PM
Unknown Object (File)
Mon, Dec 1, 1:15 AM
Unknown Object (File)
Sun, Nov 30, 1:01 PM
Unknown Object (File)
Thu, Nov 27, 2:32 AM
Unknown Object (File)
Mon, Nov 24, 10:35 AM
Unknown Object (File)
Sat, Nov 22, 5:58 AM
Unknown Object (File)
Nov 17 2025, 2:44 PM
Unknown Object (File)
Nov 8 2025, 3:37 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

Lint
Lint Skipped
Unit
Tests Skipped

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.