keyboard groups work in drm mode

This commit is contained in:
Harrison DiAmbrosio 2025-10-26 21:17:23 -04:00
parent 976900ffa6
commit d9ebb6197d
6 changed files with 71 additions and 22 deletions

View file

@ -110,8 +110,8 @@ fn handleMap(listener: *wl.Listener(void)) void {
const xdg_surface = view.xdg_toplevel.base;
server.seat.wlr_seat.keyboardNotifyEnter(
xdg_surface.surface,
server.keyboard.wlr_keyboard.keycodes[0..server.keyboard.wlr_keyboard.num_keycodes],
&server.keyboard.wlr_keyboard.modifiers
server.seat.keyboard_group.keyboard.keycodes[0..server.seat.keyboard_group.keyboard.num_keycodes],
&server.seat.keyboard_group.keyboard.modifiers
);
if(view.xdg_toplevel_decoration) |decoration| {