Bug 1432158 - Update comment for gdk_disable_multidevice() call on Wayland backend, r=jhorak

MozReview-Commit-ID: QaCVmUbxNg

--HG--
extra : rebase_source : e636b831bfb9580003b7a8f8c3afd92a1274aa65
This commit is contained in:
Martin Stransky 2018-01-22 15:52:17 +01:00
Родитель 9d478f14ea
Коммит c9f2884bb5
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -3875,7 +3875,10 @@ XREMain::XRE_mainStartup(bool* aExitFlag)
// Initialize GTK here for splash.
#if defined(MOZ_WIDGET_GTK) && defined(MOZ_X11)
// Disable XInput2 support due to focus bugginess. See bugs 1182700, 1170342.
// Disable XInput2 multidevice support due to focus bugginess.
// See bugs 1182700, 1170342.
// gdk_disable_multidevice() affects Gdk X11 backend only,
// the multidevice support is always enabled on Wayland backend.
const char* useXI2 = PR_GetEnv("MOZ_USE_XINPUT2");
if (!useXI2 || (*useXI2 == '0'))
gdk_disable_multidevice();