From f00570146bb6f890518da96cb4024c2879643f94 Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Sat, 20 Aug 2022 11:35:03 +0000 Subject: [PATCH] examples: draw: Fix cursor setter argument order Reported-by: Ronny Nilsson --- examples/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/draw.c b/examples/draw.c index d2743df..8e01c1a 100644 --- a/examples/draw.c +++ b/examples/draw.c @@ -281,7 +281,7 @@ int main(int argc, char* argv[]) struct nvnc_fb* cursor = create_cursor(); assert(cursor); - nvnc_set_cursor(server, cursor, 0, 0, 32, 32, true); + nvnc_set_cursor(server, cursor, 32, 32, 0, 0, true); nvnc_fb_unref(cursor); struct aml_signal* sig = aml_signal_new(SIGINT, on_sigint, NULL, NULL);