diff --git a/control.cpp b/control.cpp index 87b557e9..a7708245 100644 --- a/control.cpp +++ b/control.cpp @@ -423,6 +423,7 @@ void fix_mouseh() { else #endif mouseh = gethyper(mousex, mousey); + need_mouseh = false; } void handlekey(int sym, int uni) { diff --git a/hyper.h b/hyper.h index 5201126a..e86821e1 100644 --- a/hyper.h +++ b/hyper.h @@ -2422,3 +2422,4 @@ transmatrix actualV(const heptspin& hs, const transmatrix& V); transmatrix cview(); extern string truncatenames[2]; +extern bool need_mouseh;