[vid] Initialize x event before sending

Quietens valgrind nicely (though it gave a weird source of the memory).
This commit is contained in:
Bill Currie 2020-03-08 21:30:08 +09:00
parent 5f299cbac7
commit 67ec9bfb47

View file

@ -672,7 +672,7 @@ event_focusin (XEvent *event)
static void
center_pointer (void)
{
XEvent event;
XEvent event = {};
event.type = MotionNotify;
event.xmotion.display = x_disp;