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

@ -138,7 +138,7 @@ fn handleButton(
switch (event.state) {
.pressed => {
if(server.keyboard.wlr_keyboard.getModifiers().alt) {
if(server.seat.keyboard_group.keyboard.getModifiers().alt) {
// Can be BTN_RIGHT, BTN_LEFT, or BTN_MIDDLE
if(server.seat.focused_view) |view| {
// Keep track of where the drag started