gecko-dev/servo/ports/glutin
Andrew Mackenzie 624cea87a0 servo: Merge #12461 - Add a keyboard shortcut (Command + Q on Mac or Control + Q on other O… (from andrewdavidmackenzie:enable-quit-keyboard-shortcut); r=ConnorGBrewster
<!-- Please describe your changes on the following line: -->
Added code in window.rs to enqueue the Window::Quit event when the Command/Control + Q keyboard shortcut is detected IF keyboard shortcuts are enabled.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #12422 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because there are no tests able to test keyboard shortcuts at the moment

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 6640115c9775e7177f79b1d6aa5fddceeeeb22e2
2016-07-15 09:33:06 -07:00
..
Cargo.toml servo: Merge #12447 - All our Cargo.toml files should contain an MPL-2.0 license field (from asajeffrey:license-mpl-2.0); r=frewsxcv 2016-07-14 09:33:18 -07:00
lib.rs servo: Merge #11314 - Make Servo DPI aware on Windows (from metajack:window-hi-dpi); r=mbrubeck 2016-05-20 22:41:07 -07:00
window.rs servo: Merge #12461 - Add a keyboard shortcut (Command + Q on Mac or Control + Q on other O… (from andrewdavidmackenzie:enable-quit-keyboard-shortcut); r=ConnorGBrewster 2016-07-15 09:33:06 -07:00