Fix Control+Delete combination crashing the lock_screen keygrabber

This commit is contained in:
elenapan 2020-04-18 06:49:19 +03:00
parent ab65a23d61
commit 01a710e107

View file

@ -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