From 01a710e1074d1fa3a0b3a4dd67a62836e5b367c1 Mon Sep 17 00:00:00 2001 From: elenapan Date: Sat, 18 Apr 2020 06:49:19 +0300 Subject: [PATCH] Fix Control+Delete combination crashing the lock_screen keygrabber --- config/awesome/elemental/lock_screen/lock_screen.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config/awesome/elemental/lock_screen/lock_screen.lua b/config/awesome/elemental/lock_screen/lock_screen.lua index 46f5468..f1f36ae 100644 --- a/config/awesome/elemental/lock_screen/lock_screen.lua +++ b/config/awesome/elemental/lock_screen/lock_screen.lua @@ -196,7 +196,12 @@ local function grab_password() reset() grab_password() end - } + }, + -- Fix for Control+Delete crashing the keygrabber + {{ 'Control' }, 'Delete', function () + reset() + grab_password() + end} }, keypressed_callback = function(mod, key, cmd) -- Only count single character keys (thus preventing