From 16ee776dc021c8fa20bc6d344d7f585d371e9553 Mon Sep 17 00:00:00 2001 From: epoch Date: Sun, 11 Oct 2020 01:39:06 -0500 Subject: moved the bounding-box checking-code from driver-specific files into math.c, moved the check and hilighting to driver-agnostic place. --- src/graphics_c3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/graphics_c3.c') diff --git a/src/graphics_c3.c b/src/graphics_c3.c index 72a03e3..e31233c 100644 --- a/src/graphics_c3.c +++ b/src/graphics_c3.c @@ -457,7 +457,7 @@ void draw_screen() { //} } //we check here to see if the mouse button is still down - if(gra_global.mousemap[MOUSE_PRIMARY]==-1) {//0 in x11 + if(gra_global.mousemap[MOUSE_PRIMARY]==-1) { printf("%s action %f %f\n",global.user,gra_global.mouse.x,gra_global.mouse.y); gra_global.mousemap[MOUSE_PRIMARY]=0; } -- cgit v1.2.3