--- OLD/xc/programs/xterm/button.c Thu Jan 1 00:00:00 1970 +++ NEW/xc/programs/xterm/button.c Thu Jan 1 00:00:00 1970 @@ -40,7 +40,7 @@ #include "error.h" #include "menu.h" -extern char *malloc(); +#include extern void DoSecureKeyboard(); @@ -149,7 +149,7 @@ if ( event->type == ButtonPress && KeyModifiers == 0 && event->xbutton.button == Button1 ) { - TrackDown(event); + TrackDown(&event->xbutton); return True; } if (KeyModifiers == 0 || KeyModifiers == ControlMask) {