On Tuesday 04 February 2003 13:08, Lubos Lunak wrote: > One more thing to do could be to have larger > 'sameanswer' area (see the XDND spec), but I'm afraid that wouldn't be that > trivial in Qt. For kicker I commited the following: - if (QUriDrag::canDecode(ev)) - ev->accept(rect()); + if ((ev->source() != this) && QUriDrag::canDecode(ev)) + ev->accept(rect()); + else + ev->ignore(rect()); Which disables dragging an item onto itself and sets an ignore-area. The latter should set the 'sameanswer' area, is that what you mean? If that helps we might want to scan KDE source for this kind of usage and set appropriate acceopt/ignore rects. Cheers, Waldo -- bastian@kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian@suse.com _______________________________________________ Kde-optimize mailing list Kde-optimize@mail.kde.org http://mail.kde.org/mailman/listinfo/kde-optimize