Bug 1173971 - Force core Xlib events on GTK3. r=karlt

This commit is contained in:
Andrew Comminos 2015-06-12 06:55:00 -04:00
parent 40bcadd463
commit 2a579c982c

View File

@ -1542,6 +1542,11 @@ class Mochitest(MochitestUtilsMixin):
if not options.enableCPOWWarnings:
browserEnv["DISABLE_UNSAFE_CPOW_WARNINGS"] = "1"
# Force use of core Xlib events on GTK3 to work around focus bug.
# See bug 1170342.
if mozinfo.info.get('toolkit') == 'gtk3':
browserEnv["GDK_CORE_DEVICE_EVENTS"] = "1"
return browserEnv
def cleanup(self, options):