summaryrefslogtreecommitdiff
path: root/framebuffer/fb_cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'framebuffer/fb_cursor.c')
-rw-r--r--framebuffer/fb_cursor.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/framebuffer/fb_cursor.c b/framebuffer/fb_cursor.c
index 97632caec..96e280223 100644
--- a/framebuffer/fb_cursor.c
+++ b/framebuffer/fb_cursor.c
@@ -137,8 +137,9 @@ static void fb_cursor_clear(framebuffer_t *fb)
}
+/* move cursor to absolute position */
void
-fb_cursor_move_abs(framebuffer_t *fb, int x, int y)
+fb_cursor_move(framebuffer_t *fb, int x, int y)
{
fb_cursor_clear(fb);
@@ -152,13 +153,6 @@ fb_cursor_move_abs(framebuffer_t *fb, int x, int y)
fb->cursor->x = fb->width;
if (fb->cursor->y > fb->height)
fb->cursor->y = fb->height;
-
-}
-
-void
-fb_cursor_move(framebuffer_t *fb, int x, int y)
-{
- fb_cursor_move_abs(fb, fb->cursor->x + x, fb->cursor->y + y);
}
void