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

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

Re: x-dnd (drag and drop) fails on x86_64


From: Jan D.
Subject: Re: x-dnd (drag and drop) fails on x86_64
Date: Sat, 5 Feb 2005 18:02:02 +0100 (CET)

> On Fri, Feb 04 2005, Jan D. wrote:
> 
> > There is obviously some 32/64 bit mixup somewhere.  If I can get the raw 
> > event data and those sizes I can probably track it down.
> 
> Thanks for the clear instructions.  Here is what I get (I have updated
> from CVS and recompiled just before doing this):
> 

> Breakpoint 3, x_handle_dnd_message (f=0xcfa3d0, event=0x7fbfffae90, 
>     dpyinfo=0xde4aa0, bufp=0x7fbfffb210)
>     at [...]/emacs/src/xselect.c:2633
> 2633    {
> (gdb) p *event
> $1 = {
>   type = 33, 
>   serial = 2582, 
>   send_event = 1, 
>   display = 0xdb26c0, 
>   window = 52428820, 
>   message_type = 274, 
>   format = 32, 
>   data = {
>     b = 
> "tI\300\003\000\000\000\000\001\000\000\003\000\000\000\000\000\000\000", 
>     s = {18804, 960, 0, 0, 1, 768, 0, 0, 0, 0}, 
>     l = {62933364, 50331649, 0, 0, 0}
>   }
> }
> (gdb) p sizeof(event->data)
> $2 = 40
> (gdb) p sizeof(event->data.l[0])
> $3 = 8

Thank you for the response.  This confirms that the fix I just commited
is the correct one.  Always good to know, as I can't test it :-).  I will
however buy an x86_64 machine shortly.

        Jan D.





reply via email to

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