[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Motif DND
From:       Richard Moore <rich () ipso-facto ! freeserve ! co ! uk>
Date:       1999-06-08 12:28:40
[Download RAW message or body]



Matt Koss wrote:
> 
> Because Qt doesn't support Motif drag&drop protocol yet, I have
> decided to add support for it into Caitoo.
> 
> This will be also a starter for general Motif DND support in KDE.
> 
> I have gathered some info, examples and source code for this. So far I have got
> to the point that I can drag url's from Netscape into my program.
> The program extracts selection ok.
> The problem is with finishing of the drop transfer.
> 
> Motif DND spec says that in order to succesfully finish the drop we need to
> call XConvertSelection command to convert the selection to XmTRANSFER_SUCCESS or
> XmTRANSFER_FAILURE.
> 
> After this the drop operation finishes well, but Navigator opens a warning
> window with a text :
> 
>   Warning: Name: Navigator
>   Class: TopLevelShell
>   We lost the drop selection.
> 
> Anybody knows what could be a problem ?

Have you tried looking at the GNOME code for Motif DnD? It might help
you
figure out what's wrong. It sounds like there is an additional step that
you aren't performing (though what it may be I have no idea).

Rich.

> 
>    Regards
> 
>                         Matt
> --
> Matej Koss      e-mail: koss@napri.sk
> Kosice           ICQ# : 19344305
> Slovakia

-- 
     Richard Moore		rich@ipso-facto.freeserve.co.uk
http://www.robocast.com/	richard@robocast.com
http://developer.kde.org/	rich@kde.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic