Mirror x11 ISO_LEFT_TAB detection on wayland and release version 0.8.3 (#314)

* wayland: mirror x11 ISO_LEFT_TAB detection

* Release 0.8.3
This commit is contained in:
Chet Gurevitch 2017-10-12 00:39:41 -07:00 committed by tomaka
parent 80d9a6371d
commit eff3440482
3 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,7 @@
# Unreleased
# Version 0.8.3 (2017-10-11)
- Fixed issue of calls to `set_inner_size` blocking on Windows.
- Mapped `ISO_Left_Tab` to `VirtualKeyCode::Tab` to make the key work with modifiers
- Fixed the X11 backed on 32bit targets

View file

@ -1,6 +1,6 @@
[package]
name = "winit"
version = "0.8.2"
version = "0.8.3"
authors = ["The winit contributors, Pierre Krieger <pierre.krieger1708@gmail.com>"]
description = "Cross-platform window creation library."
keywords = ["windowing"]

View file

@ -216,6 +216,7 @@ fn keysym_to_vkey(keysym: u32) -> Option<VirtualKeyCode> {
// => Some(VirtualKeyCode::Subtract),
// => Some(VirtualKeyCode::Sysrq),
keysyms::XKB_KEY_Tab => Some(VirtualKeyCode::Tab),
keysyms::XKB_KEY_ISO_Left_Tab => Some(VirtualKeyCode::Tab),
// => Some(VirtualKeyCode::Underline),
// => Some(VirtualKeyCode::Unlabeled),
keysyms::XKB_KEY_XF86AudioLowerVolume => Some(VirtualKeyCode::VolumeDown),