bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#67694: 30.0.50; tool-bar


From: Konrad Podczeck
Subject: bug#67694: 30.0.50; tool-bar
Date: Mon, 18 Dec 2023 17:44:11 +0100


> Konrad, are you able to try changing the code thus (the line numbers
> are probably wrong):
> 
> modified   src/nsterm.m
> @@ -4604,10 +4604,16 @@ Function modeled after x_draw_glyph_string_box ().
>                                    data1: value
>                                    data2: 0];
> 
> -      /* Post an application defined event on the event queue.  When this is
> -         received the [NXApp run] will return, thus having processed all
> -         events which are currently queued.  */
> -      [NSApp postEvent: nxev atStart: NO];
> +      if (! nxev)
> +        {
> +          NSLog(@"Something has stopped us creating an event.");
> +          send_appdefined = YES;
> +        }
> +      else
> +        /* Post an application defined event on the event queue.  When this 
> is
> +           received the [NXApp run] will return, thus having processed all
> +           events which are currently queued.  */
> +        [NSApp postEvent: nxev atStart: NO];
>     }
> }
> 
> See if the log message prints, and/or whether it solves the problem.
> 
> -- 
> Alan Third

This did not help me.

Konrad




reply via email to

[Prev in Thread] Current Thread [Next in Thread]