Author: anevilyak Date: 2010-08-21 23:22:12 +0200 (Sat, 21 Aug 2010) New Revision: 38303 Changeset: http://dev.haiku-os.org/changeset/38303 Modified: haiku/trunk/src/kits/interface/Shelf.cpp Log: If we failed to instantiate the view (ergo we are a zombie), don't remove the drop coordinates from the replicant message we store as they'll be needed in order to reinstantiate the zombie at the correct position on the next pass. Modified: haiku/trunk/src/kits/interface/Shelf.cpp =================================================================== --- haiku/trunk/src/kits/interface/Shelf.cpp 2010-08-21 21:11:39 UTC (rev 38302) +++ haiku/trunk/src/kits/interface/Shelf.cpp 2010-08-21 21:22:12 UTC (rev 38303) @@ -1334,8 +1334,10 @@ } } - data->RemoveName("_drop_point_"); - data->RemoveName("_drop_offset_"); + if (!zombie) { + data->RemoveName("_drop_point_"); + data->RemoveName("_drop_offset_"); + } replicant_data *item = new replicant_data(data, replicant, dragger, relation, uniqueID);