Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 504626 Details for
Bug 637998
>=www-client/firefox-57.0 misses support for gesture plugins
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to add config option necessary for gesture plugins (with typo fixed).
Bug-1360278-fix-16.10.2017-fixed.patch (text/plain), 2.37 KB, created by
Markus Walter
on 2017-11-18 15:02:07 UTC
(
hide
)
Description:
Patch to add config option necessary for gesture plugins (with typo fixed).
Filename:
MIME Type:
Creator:
Markus Walter
Created:
2017-11-18 15:02:07 UTC
Size:
2.37 KB
patch
obsolete
># HG changeset patch ># User Dimi Meim <dimimeim@gmail.com> ># Date 1508186130 -10800 ># Mon Oct 16 23:35:30 2017 +0300 ># Node ID 7251515cd508453edff10be2e1294261ef1dc4b5 ># Parent c241c2b44a75f4bad80e12c3a1a7cb5aaf37a3f7 >Bug-1360278-fix > >diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js >--- a/modules/libpref/init/all.js >+++ b/modules/libpref/init/all.js >@@ -5913,3 +5913,6 @@ pref("dom.noopener.newprocess.enabled", > > pref("layers.omtp.enabled", false); > pref("layers.omtp.force-sync", false); >+ >+//Pop up context menu on mouse button release >+pref("input.contextMenu.onRelease", false); >diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp >--- a/widget/gtk/nsWindow.cpp >+++ b/widget/gtk/nsWindow.cpp >@@ -362,6 +362,7 @@ static bool gBlockActivateE > static bool gGlobalsInitialized = false; > static bool gRaiseWindows = true; > >+static bool menuContextOnClickRelease = false; > #if GTK_CHECK_VERSION(3,4,0) > static uint32_t gLastTouchID = 0; > #endif >@@ -2795,9 +2796,11 @@ nsWindow::OnButtonPressEvent(GdkEventBut > > DispatchInputEvent(&event); > >+ Preferences::AddBoolVarCache(&menuContextOnClickRelease, "input.contextMmenu.onRelease", false); >+ > // right menu click on linux should also pop up a context menu > if (domButton == WidgetMouseEvent::eRightButton && >- MOZ_LIKELY(!mIsDestroyed)) { >+ MOZ_LIKELY(!mIsDestroyed) && !menuContextOnClickRelease) { > WidgetMouseEvent contextMenuEvent(true, eContextMenu, this, > WidgetMouseEvent::eReal); > InitButtonEvent(contextMenuEvent, aEvent); >@@ -2838,6 +2841,18 @@ nsWindow::OnButtonReleaseEvent(GdkEventB > > DispatchInputEvent(&event); > mLastMotionPressure = pressure; >+ >+ Preferences::AddBoolVarCache(&menuContextOnClickRelease, "input.contextMmenu.onRelease", false); >+ >+ // right menu click on linux should also pop up a context menu >+ if (domButton == WidgetMouseEvent::eRightButton && >+ MOZ_LIKELY(!mIsDestroyed) && menuContextOnClickRelease) { >+ WidgetMouseEvent contextMenuEvent(true, eContextMenu, this, >+ WidgetMouseEvent::eReal); >+ InitButtonEvent(contextMenuEvent, aEvent); >+ contextMenuEvent.pressure = mLastMotionPressure; >+ DispatchInputEvent(&contextMenuEvent); >+ } > } > > void
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 637998
:
504618
| 504626