Skip to content
Commit 69075043 authored by Samuel Thibault's avatar Samuel Thibault
Browse files

Fix uninitialized AccessibilityWatcher::mActive variable

This fixes the lost of focus tracking when zooming in/out several times.

mActive is tested in AccessibilityWatcher::setActive() but was never
initialized or updated, and thus basically random.  By luck it'd be 0, and
thus AccessibilityWatcher::setActive would always accept to reactivate
and never accept to deactivate.  But without luck it'd be non-0, and thus
AccessibilityWatcher::setActive would always accept to desactivate, but
always refuse to reactivate (e.g. when zooming in).
parent 7c7ad596
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment