mirror of
https://github.com/swaywm/sway.git
synced 2025-11-01 22:58:41 -04:00
Add password buffer, refactor rendering/surfaces
This commit is contained in:
parent
1fe3cb8965
commit
066143adef
9 changed files with 262 additions and 51 deletions
|
|
@ -73,7 +73,9 @@ static void keyboard_key(void *data, struct wl_keyboard *wl_keyboard,
|
|||
uint32_t keycode = key_state == WL_KEYBOARD_KEY_STATE_PRESSED ?
|
||||
key + 8 : 0;
|
||||
uint32_t codepoint = xkb_state_key_get_utf32(state->xkb.state, keycode);
|
||||
wlr_log(L_DEBUG, "%c %d", codepoint, sym);
|
||||
if (key_state == WL_KEYBOARD_KEY_STATE_PRESSED) {
|
||||
swaylock_handle_key(state, sym, codepoint);
|
||||
}
|
||||
}
|
||||
|
||||
static void keyboard_modifiers(void *data, struct wl_keyboard *wl_keyboard,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue