mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Bug 1173971 - Force core Xlib events on GTK3. r=karlt
This commit is contained in:
parent
422b4a8ae2
commit
860531cc0f
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user