]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r281944: vt(4): Simplify mouse area detection
authoremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 12 May 2015 18:09:54 +0000 (18:09 +0000)
committeremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 12 May 2015 18:09:54 +0000 (18:09 +0000)
commit6f4ba357da1d80c6c249675665b8cba7b32a5b47
tree43b2a84d91b264076bfea3c07ce6ebbbc856265b
parent7255f43132acdab3ba6ccb12e863d77aca804463
MFC r281944: vt(4): Simplify mouse area detection

  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.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@282823 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/vt/vt_core.c