diff options
Diffstat (limited to 'pugl/detail/x11.c')
-rw-r--r-- | pugl/detail/x11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/detail/x11.c b/pugl/detail/x11.c index 38f10d0..9156c57 100644 --- a/pugl/detail/x11.c +++ b/pugl/detail/x11.c @@ -409,7 +409,7 @@ translateEvent(PuglView* view, XEvent xevent) { const PuglX11Atoms* atoms = &view->world->impl->atoms; - PuglEvent event = {0}; + PuglEvent event = {{PUGL_NOTHING, 0}}; event.any.flags = xevent.xany.send_event ? PUGL_IS_SEND_EVENT : 0; switch (xevent.type) { |