shithub: nc

Download patch

ref: c5781f2980bc24cedb4606f39d3178b8349a8908
parent: f21361177f037d79ab8993818e49d474b0b97351
author: phil9 <[email protected]>
date: Fri Dec 30 15:34:22 EST 2022

fix mouse selection not working in right panel

--- a/dirpanel.c
+++ b/dirpanel.c
@@ -181,7 +181,7 @@
 	Point pt;
 	int n;
 
-	pt = subpt(m.xy, screen->r.min);
+	pt = subpt(m.xy, p->r.min);
 	if(!ptinrect(pt, p->filesr))
 		return;
 	if(m.buttons == 1){