mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-05 13:29:47 -05:00
Merge branch 'master' into rootston
This commit is contained in:
commit
f4387b437f
56 changed files with 376 additions and 121 deletions
|
|
@ -48,7 +48,8 @@ static void keyboard_key_notify(struct wl_listener *listener, void *data) {
|
|||
key_state == WLR_KEY_PRESSED ? "pressed" : "released");
|
||||
}
|
||||
if (kbstate->compositor->keyboard_key_cb) {
|
||||
kbstate->compositor->keyboard_key_cb(kbstate, event->keycode, sym, key_state);
|
||||
kbstate->compositor->keyboard_key_cb(kbstate, event->keycode, sym,
|
||||
key_state, event->time_usec);
|
||||
}
|
||||
if (sym == XKB_KEY_Escape) {
|
||||
wl_display_terminate(kbstate->compositor->display);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue