Completely changed (once more) logic for getting widget root rectangle, for ::withinWidget. This time seems to fix all cases (chromium, inkscape, gimp).
Completely changed (once more) logic for getting widget root rectangle, for ::withinWidget. This time
seems to fix all cases (chromium, inkscape, gimp).

(re-committed minus changes made to master).

CCBUG: 261780

KDE/oxygen-gtk,blueshell-next/carbon-gtk,blue-shell/carbon-gtk,blueshell-next/carbon-gtk,KDE/oxygen-gtk,blue-shell/carbon-gtk