From: Matthew Fernandez Date: Wed, 29 Sep 2021 00:39:06 +0000 (-0700) Subject: smyrna: remove useless 'cb_mouseover' callback X-Git-Tag: 2.49.2~27^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=525843bd3c76b51fda86f2ee9592034176a96fee;p=graphviz smyrna: remove useless 'cb_mouseover' callback --- diff --git a/cmd/smyrna/glutrender.c b/cmd/smyrna/glutrender.c index 388284517..d186a9521 100644 --- a/cmd/smyrna/glutrender.c +++ b/cmd/smyrna/glutrender.c @@ -122,9 +122,6 @@ static void cb_mouseclick(int button, int state, int x, int y) cb_display(); } -void cb_mouseover(int x,int y)/*no mouse click only mouse pointer moving on context*/ -{ -} // mouse moving with a button clicked (dragging) static void cb_drag(int X, int Y) @@ -266,7 +263,7 @@ int cb_glutinit(int x,int y,int w,int h, int bits,int s_rate,int fullscreen,int* glutKeyboardUpFunc( cb_keyboard_up); glutMouseFunc(cb_mouseclick); glutMotionFunc(cb_drag); - glutPassiveMotionFunc(cb_mouseover); + glutPassiveMotionFunc(NULL); glutVisibilityFunc(NULL); glutEntryFunc(NULL); glutSpecialFunc(cb_special_key);