This website works better with JavaScript.
Home
Explore
Help
Sign In
er1n
/
i3lock
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Allow XKB_KEY_XF86ScreenSaver as synonm for enter
This keysym is generated on convertible tablets by pressing a hardware lock/unlock button.
master
Moritz Augsburger
13 years ago
committed by
Michael Stapelberg
parent
fba88476dd
commit
e84a1203a6
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
i3lock.c
+ 1
- 0
i3lock.c
View File
@ -253,6 +253,7 @@ static void handle_key_press(xcb_key_press_event_t *event) {
switch
(
ksym
)
{
case
XKB_KEY_Return
:
case
XKB_KEY_KP_Enter
:
case
XKB_KEY_XF86ScreenSaver
:
password
[
input_position
]
=
'
\0
'
;
input_done
(
)
;
case
XKB_KEY_Escape
:
Write
Preview
Loading…
Cancel
Save