      }
  
      if (!s->vision_connected) {
        if (s->status != STATUS_STOPPED) {
          update_status(s, STATUS_STOPPED);
        }
        check_messages(s);
      } else {
 
</s> remove       system("service call window 18 i32 0");  // disable event processing
 </s> add  </s> remove       system("service call window 18 i32 1");  // enable event processing
 </s> add 
      // always process events offroad
      enable_event_processing(true);
      }
  
      if (!s->vision_connected) {
      // always process events offroad
      enable_event_processing(true);
        if (s->status != STATUS_STOPPED) {
          update_status(s, STATUS_STOPPED);
        }
        check_messages(s);
      } else {
keep keep add keep keep keep keep keep
 fix offroad processing events in bg (#1266)

* fix offroad processing events in bg

* first run of ui

* actually, we don't need that at all

Co-authored-by: Comma Device <device@comma.ai> 
selfdrive/ui/ui.cc