From 9b0b2d4a6e06398fc9b164dc53e96455314a8dd1 Mon Sep 17 00:00:00 2001 From: AreaScout Date: Mon, 18 Jun 2018 20:16:17 +0200 Subject: [PATCH] Add: hide cursor in left lower corner instead of delete it -> easier to recover on exit --- src/video/rk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video/rk.c b/src/video/rk.c index b61858d..1cba97b 100644 --- a/src/video/rk.c +++ b/src/video/rk.c @@ -356,8 +356,8 @@ int rk_setup(int videoFormat, int width, int height, int redrawRate, void* conte } assert(plane_id); - // disable cursor - drmModeSetCursor(fd, crtc_id, 0, 0, 0); + // hide cursor by move in left lower corner + drmModeMoveCursor(fd, crtc_id, 0, crtc_height); // MPI SETUP