feat: add support to two new wayland protocols
- Idle notify - Idle inhibit
This commit is contained in:
3
seat.c
3
seat.c
@ -7,6 +7,7 @@
|
||||
#include "seat.h"
|
||||
#include "view.h"
|
||||
#include "output.h"
|
||||
#include "idle.h"
|
||||
|
||||
static void configure_keyboard(struct diyac_seat* seat, struct diyac_input* input, bool force)
|
||||
{
|
||||
@ -97,7 +98,7 @@ static void keyboard_handle_key(
|
||||
wl_container_of(listener, keyboard, key);
|
||||
struct wlr_keyboard_key_event *event = data;
|
||||
struct wlr_seat *seat = keyboard->input.seat->wlr_seat;
|
||||
|
||||
diya_idle_manager_notify_activity(seat);
|
||||
/* Translate libinput keycode -> xkbcommon */
|
||||
// wlr_log(WLR_INFO, "receive keycode %d", event->keycode);
|
||||
uint32_t keycode = event->keycode + 8;
|
||||
|
Reference in New Issue
Block a user