Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions druid-shell/src/backend/gtk/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1448,6 +1448,7 @@ const MODIFIER_MAP: &[(ModifierType, Modifiers)] = &[
// Note: this is the usual value on X11, not sure how consistent it is.
// Possibly we should use `Keymap::get_num_lock_state()` instead.
(ModifierType::MOD2_MASK, Modifiers::NUM_LOCK),
(ModifierType::MOD4_MASK, Modifiers::META),
];

fn get_modifiers(modifiers: ModifierType) -> Modifiers {
Expand Down