Subject: Re: bug#57320: 29.0.50; Lucid menus can't be operated with the mouse

From: Visuwesh <[email-masked]>
Date: Sun, 04 Sep 2022 12:13:43 +0530

[ஞாயிறு செப்டம்பர் 04, 2022] Eli Zaretskii wrote:

>> Cc: Stefan <[email-masked]>, [email-masked]
>> From: Visuwesh <[email-masked]>
>> Date: Sun, 04 Sep 2022 11:24:05 +0530
>> 
>>     2879	  if (XtGrabPointer ((Widget)mw, False,
>>     (gdb) stepi
>>     0x0000555555979490 2879 if (XtGrabPointer ((Widget)mw, False,
>>     (gdb) finish
>
> Too soon: you are still not inside XtGrabPointer.  Keep typing "stepi"
> (or just RET) until GDB says that it's either inside XtGrabPointer or
> inside a function with no line information, and shows a machine
> instruction instead of source line.  _Then_ type "finish".

Hopefully this is right?  I spammed stepi until gdb said it was inside
XtGrabPointer.

[many more stepi's stripped.]
(gdb) stepi
0x0000555555975f86	2879	  if (XtGrabPointer ((Widget)mw, False,
(gdb) stepi
0x0000555555597de0 in XtGrabPointer@plt ()
(gdb) finish
Run till exit from #0  0x0000555555597de0 in XtGrabPointer@plt ()
0x0000555555975f8b in pop_up_menu (event=0x7fffffffd540, mw=0x5555568a7080) at xlwmenu.c:2879
2879	  if (XtGrabPointer ((Widget)mw, False,
(gdb) return 0
Can not force return from an inlined function.
(gdb) return 2
Can not force return from an inlined function.
(gdb) return 3
Can not force return from an inlined function.
(gdb)

But it looks like it wasn't able to return anything.  Anyway, the issue
seems to be mysteriously fixed on my side.