aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-03-27 01:44:54 +0530
committerbors-servo <lbergstrom+bors@mozilla.com>2016-03-27 01:44:54 +0530
commit68a8085a2f11d052948145980a0bf8a46471e3a7 (patch)
treec7725653753a8e63593df7db96aa944574858881
parent4cb626ae297b2132bcc2f4d4756772c1f8c09fc3 (diff)
parent3b6afb31c6aa6c7b8c644e54b156bba869873c81 (diff)
downloadservo-68a8085a2f11d052948145980a0bf8a46471e3a7.tar.gz
servo-68a8085a2f11d052948145980a0bf8a46471e3a7.zip
Auto merge of #10186 - matthiaskrgr:fix_10183, r=Manishearth
fix #10183, forward navigation key should not require shift to work. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10186) <!-- Reviewable:end -->
-rw-r--r--ports/glutin/window.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/ports/glutin/window.rs b/ports/glutin/window.rs
index 5cebe5cc724..d269ba037af 100644
--- a/ports/glutin/window.rs
+++ b/ports/glutin/window.rs
@@ -727,13 +727,7 @@ impl WindowMethods for Window {
self.event_queue.borrow_mut().push(WindowEvent::ResetZoom);
}
- (SHIFT, Key::Backspace) => {
- self.event_queue.borrow_mut().push(WindowEvent::Navigation(WindowNavigateMsg::Forward));
- }
- (NONE, Key::Backspace) => {
- self.event_queue.borrow_mut().push(WindowEvent::Navigation(WindowNavigateMsg::Back));
- }
- (SHIFT, Key::NavigateForward) => {
+ (NONE, Key::NavigateForward) => {
self.event_queue.borrow_mut().push(WindowEvent::Navigation(WindowNavigateMsg::Forward));
}
(NONE, Key::NavigateBackward) => {