diff options
Diffstat (limited to 'pugl/pugl_x11.c')
-rw-r--r-- | pugl/pugl_x11.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pugl/pugl_x11.c b/pugl/pugl_x11.c index 3bd94df..59fb29c 100644 --- a/pugl/pugl_x11.c +++ b/pugl/pugl_x11.c @@ -296,9 +296,8 @@ translateModifiers(const unsigned xstate) static PuglEvent translateEvent(PuglView* view, XEvent xevent) { - PuglEvent event = {0}; - event.any.view = view; - event.any.flags |= xevent.xany.send_event ? PUGL_IS_SEND_EVENT : 0; + PuglEvent event = {0}; + event.any.flags = xevent.xany.send_event ? PUGL_IS_SEND_EVENT : 0; switch (xevent.type) { case ClientMessage: |