From 00e55c956609ac0000e9e8d53cff15abcf7eb4f5 Mon Sep 17 00:00:00 2001 From: Richard Acayan Date: Mon, 5 Aug 2024 18:26:17 -0400 Subject: [PATCH] core: layout: drop display_symbol function The display_label function supersedes the old display_symbol function. Drop the old one. --- src/core/layout.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/core/layout.rs b/src/core/layout.rs index 848e6a3..44671ae 100644 --- a/src/core/layout.rs +++ b/src/core/layout.rs @@ -367,17 +367,6 @@ impl Part { l => l, } } - - pub fn display_symbol(&self, mod_state: &[ModState]) -> Keysym - { - let mut sym = self.val.0; - - if mod_state[MOD_SHIFT - 1] != ModState::Released { - sym = Self::modify_shift(sym); - } - - sym - } } pub struct Key {