-
Committer:
Tarmac
-
Author(s):
Daniel d'Andrada
-
Date:
2012-03-02 10:13:45 UTC
-
mfrom:
(2044.2.1 lp942625)
-
Revision ID:
tarmac-20120302101345-zqj0gl6a5d2q34r6
Fixes lp:942625
GestureEngine::FindCompWindow() would enter in an infinite loop if the window passed to it is the root window since its break condition (parent == root) would never be reached as parent would be zero.
Also includes some other safeguards around the same issue.
UNBLOCK. Fixes: https://bugs.launchpad.net/bugs/942625. Approved by Marco Trevisan (Treviño).