Bug 107433 - Make it possible to turn off click-and-hold contextual menu access. r=pedemonte, sr=neil, b181=bzbarsky.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@193986 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1410,7 +1410,8 @@ nsEventStateManager::BeginTrackingDragGesture(nsPresContext* aPresContext,
|
||||
|
||||
#ifdef CLICK_HOLD_CONTEXT_MENUS
|
||||
// fire off a timer to track click-hold
|
||||
CreateClickHoldTimer ( aPresContext, inDownFrame, inDownEvent );
|
||||
if (nsContentUtils::GetBoolPref("ui.click_hold_context_menus", PR_TRUE))
|
||||
CreateClickHoldTimer ( aPresContext, inDownFrame, inDownEvent );
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -1335,6 +1335,7 @@ pref("intl.keyboard.per_window_layout", false);
|
||||
// Mac specific preference defaults
|
||||
pref("browser.drag_out_of_frame_style", 1);
|
||||
pref("ui.key.saveLink.shift", false); // true = shift, false = meta
|
||||
pref("ui.click_hold_context_menus", true);
|
||||
|
||||
// default font name (in UTF8)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user