mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[vid] Initialize x event before sending
Quietens valgrind nicely (though it gave a weird source of the memory).
This commit is contained in:
parent
5f299cbac7
commit
67ec9bfb47
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue