summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/sys/t_setuid.c
diff options
context:
space:
mode:
authordumbbell <dumbbell@FreeBSD.org>2014-08-23 11:46:52 +0000
committerdumbbell <dumbbell@FreeBSD.org>2014-08-23 11:46:52 +0000
commit1fb20eb09541dfd6a18ed0d66677733ad26447ea (patch)
tree95002b8b28a565eb63a77558d56d267342014f97 /contrib/netbsd-tests/lib/libc/sys/t_setuid.c
parent347e2b6e44f1bf4a10676881cc453abef2569b1e (diff)
downloadFreeBSD-src-1fb20eb09541dfd6a18ed0d66677733ad26447ea.zip
FreeBSD-src-1fb20eb09541dfd6a18ed0d66677733ad26447ea.tar.gz
vt(4): Fix cursor handling in vt_flush()
There were situations where the cursor was not erased/redrawn or its position was marked as dirty even though it's not displayed. The code is now more straightforward. At the same, add a function to determine if the cursor covers a given area. This is used by backends to know if they need to draw the cursor. This new function should be paired with a new state in struct vt_device, called vd_mshown, which indicates if the cursor should be displayed. This again simplifies vd_bitblt_text_t callback's API. MFC after: 1 week
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/sys/t_setuid.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud