-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Key to wake up computer (from sleep) forwarded to swaylock #132
Comments
Hi I seem to run into this aswell. I try and remember to clear before entering password, however it's a daily occurence to type in wrong password because of the forwarded key. |
This is intentional behavior: swaylock has focus, so it receives all keypresses. What logic would know that a keypress should be ignored? If it's only one, then what about people who keep slapping keys to make sure the keyboard work up and the laptop unsuspended and woke swayidle? It's important that no real keypresses are dropped. In the meantime, use a modifier key or other key without consequence to swaylock input to wake things up without mistyping your password. |
Thank you for the clear explanation. This helps alot. I will wake up my computer with the first key from my password! |
Yeah, I don't see any way to ignore such keypresses, at least from the swaylock and Sway side. |
I think it would help if swaylock could indicate that a character is in the buffer. Maybe by showing a different color when the buffer is empty? |
version:
1.5
I'm not sure if this is a regression or is due to different hardware. But now, when I press a key to wakeup my computer from sleep, this key is forwarded to swaylock as well, as if I had typed it into swaylock.
The text was updated successfully, but these errors were encountered: