Commit 198e0068 authored by Boris Zbarsky's avatar Boris Zbarsky
Browse files

Bug 1415741. Switch to a different env var, not MOZ_DEBUG, for disabling...

Bug 1415741.  Switch to a different env var, not MOZ_DEBUG, for disabling mouse event taps on Mac.  r=mstange

MozReview-Commit-ID: BgFpmE2Juom
parent e8d2ef04
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -204,7 +204,7 @@ nsToolkit::RegisterForAllProcessMouseEvents()
{
  NS_OBJC_BEGIN_TRY_ABORT_BLOCK;

  if (getenv("MOZ_DEBUG"))
  if (getenv("MOZ_NO_OSX_EVENT_TAPS"))
    return;

  // Don't do this for apps that use native context menus.