From f5d688c94124b005348832ca611a33a5d2dfa19f Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 23 Feb 2019 13:08:47 -0800 Subject: [PATCH] remove now-unused function --- src/xwindows/xkeysyms.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/xwindows/xkeysyms.rs b/src/xwindows/xkeysyms.rs index abc8b3449..8e786f20f 100644 --- a/src/xwindows/xkeysyms.rs +++ b/src/xwindows/xkeysyms.rs @@ -26,10 +26,6 @@ pub fn modifiers_from_state(state: u16) -> KeyModifiers { mods } -pub fn modifiers(event: &KeyPressEvent) -> KeyModifiers { - modifiers_from_state(event.state()) -} - /// Translates non-printable X11 keysym to termwiz::KeyCode /// for missing keys, look into ```/usr/include/X11/keysymdef.h``` and/or define them in KeyCode. /// If we can find a unicode representation of the input key then this function is skipped.