Skip to content
  • Chun-wei Fan's avatar
    clutter-event-win32.c: Avoid a Crash · 4c204a4f
    Chun-wei Fan authored
    Commit e70a0109 simplified the dispatching of events by passing the event's
    owernership to ClutterStage, but it may be so that any.stage is NULL at
    some point on Windows, which will either cause _clutter_stage_queue_event()
    to crash or issue a critical warning.  Avoid this problem by checking
    whether event->any.stage is not NULL before trying to call
    _clutter_stage_queue_event().
    
    https://bugzilla.gnome.org/show_bug.cgi?id=726765
    4c204a4f