CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 08/01/16 15:31:49
Modified files: . : ChangeLog server : movie_root.cpp Log message: (fire_mouse_event): for _droptarget, register closest AS-referenceable ancestor, not topmost character. Makes some progress in the movie 1.swf from comment 6 of bug #20911. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5413&r2=1.5414 http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_root.cpp?cvsroot=gnash&r1=1.149&r2=1.150 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.5413 retrieving revision 1.5414 diff -u -b -r1.5413 -r1.5414 --- ChangeLog 16 Jan 2008 15:09:47 -0000 1.5413 +++ ChangeLog 16 Jan 2008 15:31:48 -0000 1.5414 @@ -1,5 +1,8 @@ 2008-01-16 Sandro Santilli <[EMAIL PROTECTED]> + * server/movie_root.cpp (fire_mouse_event): for _droptarget, register + closest AS-referenceable ancestor, not topmost character. + Makes some progress in the movie 1.swf from comment 6 of bug #20911. * testsuite/misc-ming.all/shape_test.c: test that clip events are not invoked for shape placements. Index: server/movie_root.cpp =================================================================== RCS file: /sources/gnash/gnash/server/movie_root.cpp,v retrieving revision 1.149 retrieving revision 1.150 diff -u -b -r1.149 -r1.150 --- server/movie_root.cpp 10 Jan 2008 17:34:45 -0000 1.149 +++ server/movie_root.cpp 16 Jan 2008 15:31:48 -0000 1.150 @@ -817,7 +817,8 @@ const character* dropChar = findDropTarget(x, y, dragging); if ( dropChar ) { - // TODO: use target of closest script character containing this + // Use target of closest script character containing this + dropChar = dropChar->getClosestASReferenceableAncestor(); dragging->setDropTarget(dropChar->getTargetPath()); } else dragging->setDropTarget(""); _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit