ref: 41bcf7ade88e6b6c30f7a5cd1ec60b6f02da94e5
parent: f8e49c62020c3b2921f5df982712a7cb49e61559
author: halfwit <michaelmisch1985@gmail.com>
date: Sat Oct 10 07:41:16 PDT 2020
Change back to pointer
--- a/x9dev.c
+++ b/x9dev.c
@@ -173,12 +173,12 @@
x9di.fb = malloc(x9di.bpl * x9di.height);
sprintf(path, "%s/mouse", _display->devdir);
- c9walk(x9di.ctx, &x9di->mouse->tag, 1, x9di->mouse.f, &path);
- c9open(x9di.ctx, &x9di->mouse->tag, x9di->mouse.f, O_RDWR|O_NONBLOCK);
+ c9walk(x9di.ctx, &x9di.mouse->tag, 1, x9di.mouse->f, &path);
+ c9open(x9di.ctx, &x9di.mouse->tag, x9di.mouse->f, O_RDWR|O_NONBLOCK);
sprintf(path, "%s/cons", _display->devdir);
- c9walk(x9di.ctx, &x9di->keybd->tag, 1, x9di->keybd.f, &path);
- c9open(x9di.ctx, &x9di->keybd->tag, x9di->keybd.f, O_RDONLY|O_NONBLOCK);
+ c9walk(x9di.ctx, &x9di.keybd->tag, 1, x9di.keybd->f, &path);
+ c9open(x9di.ctx, &x9di.keybd->tag, x9di.keybd->f, O_RDONLY|O_NONBLOCK);
sprintf(path, "%s/consctl", _display->devdir);
c9walk(x9di.ctx, &cons, 1, cfd, &path);