Skip to content

Commit

Permalink
Resolve ISO_Left_Tab key to tab
Browse files Browse the repository at this point in the history
This is sent by gtk when tab is pressed with shift down.

- closes #1595
  • Loading branch information
cmyr committed Feb 17, 2021
1 parent f3b534b commit cbe881d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion druid-shell/src/platform/gtk/keycodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub fn raw_key_to_key(raw: RawKey) -> Option<Key> {
Some(match raw {
Escape => Key::Escape,
BackSpace => Key::Backspace,
Tab => Key::Tab,
Tab | ISO_Left_Tab => Key::Tab,
Return => Key::Enter,
Control_L | Control_R => Key::Control,
Alt_L | Alt_R => Key::Alt,
Expand Down

0 comments on commit cbe881d

Please sign in to comment.