Ticket #62477: patch-xorg-server-legacy-dispatchfix.diff

File patch-xorg-server-legacy-dispatchfix.diff, 479 bytes (added by kencu (Ken), 3 years ago)
  • hw/xquartz/X11Application.m

    old new  
    312312    /* Don't try sending to X if we haven't initialized.  This can happen if AppKit takes over
    313313     * (eg: uncaught exception) early in launch.
    314314     */
     315
     316#ifdef HAVE_LIBDISPATCH
    315317    if (!eventTranslationQueue) {
    316318        [super sendEvent:e];
    317319        return;
    318320    }
     321#endif
    319322
    320323    OSX_BOOL for_appkit, for_x;
    321324