hyprwm / hyprlock

Hyprland's GPU-accelerated screen locking utility
BSD 3-Clause "New" or "Revised" License
822 stars 59 forks source link

Ignore enter keyboboard wvwnt while the input field is hidden #242

Closed SquareWinter68 closed 7 months ago

SquareWinter68 commented 7 months ago

Glossing over the cpp source this should be an easy fix, by just not responding to the enter keyboard event wile the input field is hidden. Alternatively hitting enter could bring up the input field. The way it works now is, that by hitting enter authentication starts even though the input field was hidden, and this freezes it up until the authentication fails. It is a minor issue with a presumably easy fix.

vaxerski commented 7 months ago

on purpose. With fingerprint readers, hw keys etc you dont enter a password. Can be configurable tho, feel free to mr

SquareWinter68 commented 7 months ago

Thanks for clarifying, might just do it as soon as I get the chance, cheers and extremely good work with Hyprland i might add .