hlfw.ca

x9dev

Download patch

ref: f8e49c62020c3b2921f5df982712a7cb49e61559
parent: 3e6086b697fcc8b1de2ebdab388166ed2c562e64
author: halfwit <michaelmisch1985@gmail.com>
date: Sat Oct 10 07:40:14 PDT 2020

Change back to pointer

--- a/mouse.c
+++ b/mouse.c
@@ -53,7 +53,7 @@
     int n;
 
     /* Magic numbers here are the size of a message from /dev/mouse and its offsets */
-    if((n = c9read(x9di.ctx, &x9di->mouse->tag, x9di->mouse.f, x9di.mouse->wroff, 1 + 4 * 12)) <= 0)
+    if((n = c9read(x9di.ctx, &x9di.mouse->tag, x9di.mouse->f, x9di.mouse->wroff, 1 + 4 * 12)) <= 0)
         return 0;
 
     if (n != 1 + 4 * 12)