Register the new window into out evas.
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>
Fri, 12 Dec 2014 08:39:51 +0000 (09:39 +0100)
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>
Sat, 13 Dec 2014 08:17:21 +0000 (09:17 +0100)
commita6f7d9ac1e64240fd3b044dc44c5ba207c3c44c1
tree886a38c3a0dd1807685d7488c8a6b91a2838b12f
parent827bd2818a7e578ffea8a18d8d2fef6dd5d4e4f6
Register the new window into out evas.

Summary:
Otherwise the mouse up event is emitted to the evas but the evas does
not work with it, because it does not know the window it is from. This
leads to a evas_event_down_count_get bigger than 1 which leads to a
missing mouse_out event. With this missing mouse_out event _post_up_handle
in evas_event.c is not called anymore, this means all the click events
are getting emitted to the object which was last clicked.

This fixes T1894.

Test Plan: Drag and Drop a icon somewhere and click somewhere after that, the evas will not get stuck anymore

Reviewers: raster

Subscribers: cedric, abyomi0, zmike, raster

Maniphest Tasks: T1894

Differential Revision: https://phab.enlightenment.org/D1771
src/bin/e_dnd.c