From 8ed4d5bcb2337f5542799f8b9eb05c5b6b3f360e Mon Sep 17 00:00:00 2001 From: epoch Date: Tue, 14 Apr 2020 06:11:35 -0500 Subject: redraw on mouse movement in X11 because... I dunno --- src/mouse_x11.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mouse_x11.c b/src/mouse_x11.c index 16c577c..719940e 100644 --- a/src/mouse_x11.c +++ b/src/mouse_x11.c @@ -73,6 +73,9 @@ int mouse_event_handler() {//this returns HVM_ key + for buttondown and - for bu global.camera.r.x.d=gra_global.oldcamera.x.d + (gra_global.mouse.y - gra_global.dragstart[2].y); global.camera.r.y.d=gra_global.oldcamera.y.d + (gra_global.mouse.x - gra_global.dragstart[2].x); } + //do we need to redraw on mouse movement? + //probably. + redrawplzkthx=1; } if(redrawplzkthx) { redraw(); -- cgit v1.2.3