examples: draw: Fix cursor setter argument order

Reported-by: Ronny Nilsson
pull/74/head
Andri Yngvason 2022-08-20 11:35:03 +00:00
parent 965837465b
commit f00570146b
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ int main(int argc, char* argv[])
struct nvnc_fb* cursor = create_cursor(); struct nvnc_fb* cursor = create_cursor();
assert(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); nvnc_fb_unref(cursor);
struct aml_signal* sig = aml_signal_new(SIGINT, on_sigint, NULL, NULL); struct aml_signal* sig = aml_signal_new(SIGINT, on_sigint, NULL, NULL);